Skip to content

Commit

Permalink
Merge pull request richardkiss#99 from mbogosian/script-obj-netcodes-85
Browse files Browse the repository at this point in the history
Fix richardkiss#85. Pass netcodes parameter through to subcall.
[gitreformat yapf-ify (github/ghtdak) on Fri Jul 15 12:51:43 2016]
[from commit: 5ebd6c0]
  • Loading branch information
richardkiss committed Mar 6, 2015
2 parents 6656a72 + 9e5bcfe commit 2975694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycoin/tx/TxOut.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def hash160(self):


def standard_tx_out_script(address, netcodes=DEFAULT_NETCODES):
script_obj = script_obj_from_address(address, netcodes=DEFAULT_NETCODES)
script_obj = script_obj_from_address(address, netcodes=netcodes)
if script_obj is None:
raise ValueError("can't parse address %s" % address)
return script_obj.script()

0 comments on commit 2975694

Please sign in to comment.