Skip to content

Commit

Permalink
Fix richardkiss#85. Pass netcodes parameter through to subcall.
Browse files Browse the repository at this point in the history
  • Loading branch information
posita committed Mar 6, 2015
1 parent 5a3f309 commit f1460ba
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 @@ -67,7 +67,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 f1460ba

Please sign in to comment.