What’s distinction between createmultisig and addmultisigaddress? I ran 2 strategies for two identical bitcoin deal with on bitcoin-cli however offers totally different addresses as multisig to me. the outcomes are as follows:
> bitcoin-cli -testnet createmultisig 2 "["03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214","0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5"]"
RESULT:
{
"deal with": "**2Mt1jgrBoojAHbJS5zGJTZnx4TFktUCCNxu**",
"redeemScript": "522103f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214210395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b552ae",
"descriptor": "sh(multi(2,03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214,0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5))#6nexfs8d"
} ```
> bitcoin-cli -testnet addmultisigaddress 2 "["2NEy9um4CpWerPeaEhPa3TckNYWnh58yDXN","2Mxr2oaph8iapbnbL1MSEvfZH8EQaXYuhAy"]"
RESULT:
{
"deal with": "**tb1qjyvx2kwl4kq2cypj5zawhw5gpwxmphxe487z3hxj9m36ux8tylpszpazsu**",
"redeemScript": "522103f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214210395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b552ae",
"descriptor": "wsh(multi(2,[a025344d/0'/0'/0']03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214,[a025344d/0'/0'/1']0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5))#gmdd9d2p"
}
why these addresses is totally different?
thanks