1
0

move get_keyID to accounts

This commit is contained in:
ThomasV
2014-04-01 23:53:07 +02:00
parent 5c31263848
commit df540cb241
3 changed files with 30 additions and 30 deletions

View File

@@ -517,6 +517,8 @@ class Transaction:
continue
tx_for_sig = self.serialize( self.inputs, self.outputs, for_sig = i )
print_error("redeem pubkeys input %d"%i, redeem_pubkeys)
for pubkey in redeem_pubkeys:
# check if we have the corresponding private key
if pubkey in keypairs.keys():
@@ -535,6 +537,7 @@ class Transaction:
txin["signatures"] = signatures
is_complete = is_complete and len(signatures) == num
print_error("is_complete", is_complete)
self.is_complete = is_complete
self.raw = self.serialize( self.inputs, self.outputs )