Bitcoin Forum
July 08, 2024, 07:15:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: lost funds for multisig on regtest  (Read 137 times)
rsbondi (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 15, 2018, 03:31:59 PM
 #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
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3444
Merit: 6748


Just writing some code


View Profile WWW
January 15, 2018, 06:07:36 PM
Merited by ABCbits (1)
 #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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!