|
@ -985,7 +985,6 @@ class Wallet: |
|
|
redeemScript = self.accounts[account].redeem_script(sequence) |
|
|
redeemScript = self.accounts[account].redeem_script(sequence) |
|
|
if redeemScript: |
|
|
if redeemScript: |
|
|
txin['redeemScript'] = redeemScript |
|
|
txin['redeemScript'] = redeemScript |
|
|
assert address == self.accounts[account].get_address(*sequence) |
|
|
|
|
|
else: |
|
|
else: |
|
|
txin['redeemPubkey'] = self.accounts[account].get_pubkey(*sequence) |
|
|
txin['redeemPubkey'] = self.accounts[account].get_pubkey(*sequence) |
|
|
|
|
|
|
|
@ -996,7 +995,6 @@ class Wallet: |
|
|
keypairs[ pubkey ] = sec |
|
|
keypairs[ pubkey ] = sec |
|
|
|
|
|
|
|
|
tx.sign(keypairs) |
|
|
tx.sign(keypairs) |
|
|
|
|
|
|
|
|
for address, x in outputs: |
|
|
for address, x in outputs: |
|
|
if address not in self.addressbook and not self.is_mine(address): |
|
|
if address not in self.addressbook and not self.is_mine(address): |
|
|
self.addressbook.append(address) |
|
|
self.addressbook.append(address) |
|
|