Resolve conflicting multisig address in 2 nodes

+1 vote
1. Accidentally created a non-standard address in node 1 using "createmultisig".

listaddresses * true returns this result

        "address" : "4LVwsbNb5SEsLfx9Bi8vFvunZVm9UgnKpSdpJ2",
        "ismine" : false,
        "iswatchonly" : true,
        "isscript" : true,
        "script" : "nonstandard",
        "hex" : "",
        "addresses" : [
        ],
        "account" : "",
        "synchronized" : true

The addresses field are empty.

 

2. Created multisig wallet address using the same keys in node 2 using "addmultisigaddress". listaddresses * true shows:

        "address" : "4LVwsbNb5SEsLfx9Bi8vFvunZVm9UgnKpSdpJ2",
        "ismine" : false,
        "iswatchonly" : true,
        "isscript" : true,
        "script" : "multisig",
        "hex" : "522103ec79c4c7dedd4a3c77a548cd8e59bfc4a378d97f60a455fa8dceba8edcd8a4b72103a1d6b7d7be2d817f080d1d914bf84ceacf48303e66ddf12dab9f6146a8fffb0b52ae",
        "addresses" : [
            "1YNUZrZPmKrENyAc16K26pGmxk8MK9TiHLcz1z",
            "1TBrRhNUwDooJ15MmREAXb6ps3pCPc43qdeo8i"
        ],
        "sigsrequired" : 2,
        "account" : "",
        "synchronized" : true

The same multisig addresses on both nodes are in a different state now.

Question:

a. Why is the multisig address created using "createmultisig" have missing addresses field?

b. Now that both addresses are out of sync on 2 different nodes, how can I replace both of them with the multisig wallet address version?
asked Apr 1, 2017 by kakkoiiman
Do you have a record of the createmultisig command you issued to create this strange result on node 1?
1(a)  createmultisig 2 '["03ec79c4c7dedd4a3c77a548cd8e59bfc4a378d97f60a455fa8dceba8edcd8a4b7","03f41b160c4c795956702336f4461d2f580350029351f8fac798a2c9068cd0789e"]'
Output:
 "address" : "4DRUXWJ3pFrcb7nWFT5dLun9ECdKigVzQgEZhA",
    "redeemScript" : "522103ec79c4c7dedd4a3c77a548cd8e59bfc4a378d97f60a455fa8dceba8edcd8a4b72103f41b160c4c795956702336f4461d2f580350029351f8fac798a2c9068cd0789e52ae"

1(b). importaddress 4DRUXWJ3pFrcb7nWFT5dLun9ECdKigVzQgEZhA
1(c) getaddresses true
Output:
    {
        "address" : "4DRUXWJ3pFrcb7nWFT5dLun9ECdKigVzQgEZhA",
        "ismine" : false,
        "iswatchonly" : true,
        "isscript" : true,
        "script" : "nonstandard",
        "hex" : "",
        "addresses" : [
        ],
        "account" : "",
        "synchronized" : true
    }

2(a) addmultisigaddress 2  '["03ec79c4c7dedd4a3c77a548cd8e59bfc4a378d97f60a455fa8dceba8edcd8a4b7","03f41b160c4c795956702336f4461d2f580350029351f8fac798a2c9068cd0789e"]'
Output:
4DRUXWJ3pFrcb7nWFT5dLun9ECdKigVzQgEZhA

2(b) getaddresses true
output:
    {
        "address" : "4DRUXWJ3pFrcb7nWFT5dLun9ECdKigVzQgEZhA",
        "ismine" : false,
        "iswatchonly" : true,
        "isscript" : true,
        "script" : "multisig",
        "hex" : "522103ec79c4c7dedd4a3c77a548cd8e59bfc4a378d97f60a455fa8dceba8edcd8a4b72103f41b160c4c795956702336f4461d2f580350029351f8fac798a2c9068cd0789e52ae",
        "addresses" : [
            "1YNUZrZPmKrENyAc16K26pGmxk8MK9TiHLcz1z",
            "1U525FHZRf8yYjQb9DicMeoGW54XfFoStjrWEE"
        ],
        "sigsrequired" : 2,
        "account" : "",
        "synchronized" : true
    }
Thanks - just to confirm - when you say the addresses are "out of sync", do you just mean that they appear twice in the wallet listing. Or are you saying that they show up twice with two different balances in some other API output?

Please log in or register to answer this question.

...