Author

Topic: lost funds for multisig on regtest (Read 139 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
January 15, 2018, 01:07:36 PM
#2
createmultisig does not add the address to your wallet. So the multisig address is not part of your wallet and thus not listed in listunspent.

To add it to your wallet, you need to use addmultisigaddress.
newbie
Activity: 2
Merit: 0
January 15, 2018, 10:31:59 AM
#1
I seem to have an issue, I follow the same steps on testnet and have no problem, on regtest the funds are lost.  I am running version 0.15.1 on Ubuntu 16.04.3 LTS

listunspent
createmultisig 1 ["address_from_above"]
createrawtransaction  [{"txid":"id_from_listunspent","vout":1}]  {"address_from_createmultisig":1.0,"change_address":1.0}
signrawtransaction "created_hex"
sendrawtransaction "signed_hex"

in testnet the multisig address created shows a balance with listunspent

in regtest, I call generate, I look at the block and see the multisig address in the transaction, but it does not show as being in my account with listunspent

any help in helping me understand this would be appreciated
Jump to: