1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 19:08:07 +00:00

wallet: fix segwit checksum computation

This commit is contained in:
Jan Pochyla 2018-10-31 12:44:18 +01:00
parent b9926a9fff
commit 5a8388fbc1

View File

@ -33,7 +33,7 @@ def write_tx_input_check(w, i: TxInputType):
for n in i.address_n:
write_uint32(w, n)
write_uint32(w, i.sequence)
write_uint32(w, i.amount or 0)
write_uint64(w, i.amount or 0)
def write_tx_input_decred(w, i: TxInputType):