I generated new address in MultiChain node2. And want to import the address in MultiChain node 1.
Then I came back to chain1, use importaddress api, then I got
error code: -5
error message:
Invalid MultiChain address or script
I thought maybe I should import the private key first. So I use importprivkey api. But still get error.
error code: -5
error message:
Invalid private key encoding
I also checked http://www.multichain.com/developers/blockchain-parameters/, and set “Global permissions” all as true. But still not fix.
Would you please help me with this problem? Thanks a lot.