Skip to content

Commit

Permalink
Merge commit 'bc86a1e'
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Jun 4, 2015
2 parents 460b0ca + bc86a1e commit 3d613f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcoin/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def toAddress(cls, addr):
if ver == 0 or ver == 111:
return b'\x76\xa9\x14' + pubkeyhash + b'\x88\xac'
elif ver == 5 or ver == 196:
return b'\xa9\x14' + pubkeyhash + '\x87'
return b'\xa9\x14' + pubkeyhash + b'\x87'
raise ValueError('invalid address version')

def countSigOps(s):
Expand Down

0 comments on commit 3d613f0

Please sign in to comment.