Skip to content

Commit 6a6c7ac

Browse files
committed
Merge branch 'online_backup' of https://github.com/RCasatta/opentimestamps-server into online_backup
2 parents e960784 + c41ce22 commit 6a6c7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

otsserver/backup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __create_kv_map(ts, msg, kv_map):
9292
@staticmethod
9393
def __kv_map_to_bytes(kv_map):
9494
ctx = BytesSerializationContext()
95-
for key, value in kv_map.items():
95+
for key, value in sorted(kv_map.items()):
9696
ctx.write_varuint(len(key))
9797
ctx.write_bytes(key)
9898
ctx.write_varuint(len(value))

0 commit comments

Comments
 (0)