fix unresolved variable
This commit is contained in:
@@ -667,7 +667,7 @@ class Transaction:
|
|||||||
pkh = bh2u(bitcoin.hash_160(bfh(pubkey)))
|
pkh = bh2u(bitcoin.hash_160(bfh(pubkey)))
|
||||||
return '76a9' + push_script(pkh) + '88ac'
|
return '76a9' + push_script(pkh) + '88ac'
|
||||||
else:
|
else:
|
||||||
raise TypeError('Unknown txin type', _type)
|
raise TypeError('Unknown txin type', txin['type'])
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def serialize_outpoint(self, txin):
|
def serialize_outpoint(self, txin):
|
||||||
|
|||||||
Reference in New Issue
Block a user