Skip to content

Commit

Permalink
Namecoin / AuxPoW: Optimize get_address_from_output_script stub in au…
Browse files Browse the repository at this point in the history
…xpow.fast_tx_deserialize.
  • Loading branch information
JeremyRand committed Jul 4, 2018
1 parent 4038bc3 commit 62c0119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auxpow.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def fast_txid(tx):

def fast_tx_deserialize(tx):
def stub_get_address_from_output_script(_bytes, *, net=None):
return TYPE_SCRIPT, bh2u(b'')
return TYPE_SCRIPT, ''

def stub_parse_output(vds, i):
vds.read_int64() # d['value']
Expand Down

0 comments on commit 62c0119

Please sign in to comment.