mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-04 12:56:25 +00:00
fixup! feat(core): add Zcash shielded transactions
This commit is contained in:
parent
2dcdb573f9
commit
b9e5a4cf19
@ -107,11 +107,7 @@ def encode(receivers: dict[Typecode, bytes], hrp: str) -> str:
|
||||
|
||||
w = empty_bytearray(length)
|
||||
|
||||
# receivers in ascending order
|
||||
receivers_list = list(receivers.items())
|
||||
receivers_list.sort()
|
||||
|
||||
for (typecode, raw_bytes) in receivers_list:
|
||||
for typecode, raw_bytes in sorted(receivers.items()):
|
||||
length = len(raw_bytes)
|
||||
write_compact_size(w, typecode)
|
||||
write_compact_size(w, length)
|
||||
|
Loading…
Reference in New Issue
Block a user