1
0

signrawtransaction: parse redeemScript

This commit is contained in:
thomasv
2013-02-22 13:40:42 +01:00
parent c400583443
commit 40b397dc0f
4 changed files with 147 additions and 59 deletions

View File

@@ -821,8 +821,8 @@ class Wallet:
private_keys = {}
for txin in tx.inputs:
addr = txin['address']
secexp, compressed = self.get_private_key(addr, password)
private_keys[addr] = (secexp,compressed)
sec = self.get_private_key_base58(addr, password)
private_keys[addr] = sec
tx.sign(private_keys)
return str(tx)