1
0

fix tests

This commit is contained in:
ThomasV
2017-02-01 10:07:01 +01:00
parent 9ca4e60b84
commit 9e1931587d
3 changed files with 5 additions and 3 deletions

View File

@@ -587,7 +587,7 @@ class Transaction:
elif output_type == TYPE_ADDRESS:
return get_scriptPubKey(addr)
else:
raise BaseException('Unknown output type')
raise TypeError('Unknown output type')
return script
@classmethod