Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions buidl/psbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,12 +762,12 @@ def _describe_basic_multisig_inputs(self, hdpubkey_map):
"n_sequence": psbt_in.tx_in.sequence,
"sats": input_sats,
"addr": spend_addr,
"witness_script": str(psbt_in.witness_script)
if psbt_in.witness_script
else None,
"redeem_script": str(psbt_in.redeem_script)
if psbt_in.redeem_script
else None,
"witness_script": (
str(psbt_in.witness_script) if psbt_in.witness_script else None
),
"redeem_script": (
str(psbt_in.redeem_script) if psbt_in.redeem_script else None
),
}
inputs_desc.append(input_desc)

Expand Down
2 changes: 2 additions & 0 deletions buidl/siphash.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
b'310e0edd47db6f72'

"""

import struct
import binascii

Expand Down Expand Up @@ -121,6 +122,7 @@ class SipHash_2_4(object):
>>> a.hash(), b.hash()
(3258273892680892829, 6581475155582014123)
"""

digest_size = 16
block_size = 64

Expand Down
Loading
Loading