Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: tmp1 on October 23, 2018, 09:25:09 AM



Title: Bitcoin core watchonly address 2 of 2
Post by: tmp1 on October 23, 2018, 09:25:09 AM
Hello!

Faced with new issue into latest bitcoin core client.
created 2 of 2 multisignature address
setup new wallet and executed

importaddress firstaddress ""
importaddress secondaddress ""

importprivkey first ""
importprivkey second ""

createmultisig 2 '["pubkey1","pubkey2"]'

rescanblockchain

So address into wallet existing with 0.01 watch only balance.
BTW wallet has private keys and addresses. What need to ad for fix this issue?
Maybe the balance so low and need to update balance?


Title: Re: Bitcoin core watchonly address 2 of 2
Post by: achow101 on October 23, 2018, 03:02:15 PM
What exactly is your question?


Title: Re: Bitcoin core watchonly address 2 of 2
Post by: tmp1 on October 23, 2018, 07:08:40 PM
What exactly is your question?

Cannot spend from multisignature address, because it is "watch only address". Iported all private keys and addresses. What is wrong?


Title: Re: Bitcoin core watchonly address 2 of 2
Post by: achow101 on October 23, 2018, 10:53:45 PM
createmultisig does not add the multisig address's redeemScript to your wallet. You need to use addmultisigaddress for that or import it with importmulti.