fix unresolved variable

This commit is contained in:
SomberNight 2017-09-12 17:09:54 +02:00
parent 6fda3733e4
commit cbc35d96c8
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ class Transaction:
pkh = bh2u(bitcoin.hash_160(bfh(pubkey)))
return '76a9' + push_script(pkh) + '88ac'
else:
raise TypeError('Unknown txin type', _type)
raise TypeError('Unknown txin type', txin['type'])
@classmethod
def serialize_outpoint(self, txin):