<p>According to the <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md" rel="nofollow noreferrer">documentation</a>, some RPCs need a checksum. <code>importmulti</code> is one of those.</p>

<p>You can use <code>getdescriptorinfo</code> to add a checksum to an existing checksum-less one.</p>

CC BY-SA 4.0
2020-06-07T23:32:09.467Z
Thank you! We might want to update https://bitcoin.stackexchange.com/questions/86059/create-multisignature-wallet-from-xpub-keys-in-bitcoin-core/86077#86077 with a comment about this as well
Daniel
CC BY-SA 4.0
2020-06-07T18:12:31.340Z
2020-06-07T18:12:31.340Z
Pieter Wuille
<p>I'm trying to import a multisig wallet on regtest, but getting a strange error. What am I doing wrong? I've tried it with xpubs, tpubs, and Vpubs (<a href="https://jlopp.github.io/xpub-converter/" rel="nofollow noreferrer">converted here</a>) and get the same error for all.</p>

<p>Command:</p>

<pre><code>bitcoin-cli -regtest importmulti '[{"desc": "wsh(multi(2,tpubDDgGUQsV9M7N5DD3WQmkqkq9UXkSvfHvyefNDx2b7KwmukE6FfuFk3JfncmjCNnG9scWcdz6MEeNPZXHArkGFuTXTsZNr4288ULxuTDjB6u/0/0/*,tpubDCDw2UcGohVP3rK8kPW8g9hwBojpwzYdjLxQ6AnnuRvThH7q1vwGneGAUkfZYqJo9eKFGzuP4WwaKsQkEqqnwLd1eT2CtpAKQispgxadHWB/0/0/*))", "range": [0,10], "watchonly":true, "timestamp":"now"}]'
</code></pre>

<p>Error:</p>

<pre><code>[
  {
    "success": false,
    "error": {
      "code": -5,
      "message": "Missing checksum"
    }
  }
]
</code></pre>

<bitcoin-core><output-script-descriptors><checksum>
Missing Checksum error when importing multisig wallet via descriptor
Daniel
# Missing Checksum error when importing multisig wallet via descriptor

(Asked by: username_0 on 2020-06-07)

I'm trying to import a multisig wallet on regtest, but getting a strange error. What am I doing wrong? I've tried it with xpubs, tpubs, and Vpubs (converted here) and get the same error for all.
Command:
bitcoin-cli -regtest importmulti '[{"desc": "wsh(multi(2,tpubDDgGUQsV9M7N5DD3WQmkqkq9UXkSvfHvyefNDx2b7KwmukE6FfuFk3JfncmjCNnG9scWcdz6MEeNPZXHArkGFuTXTsZNr4288ULxuTDjB6u/0/0/*,tpubDCDw2UcGohVP3rK8kPW8g9hwBojpwzYdjLxQ6AnnuRvThH7q1vwGneGAUkfZYqJo9eKFGzuP4WwaKsQkEqqnwLd1eT2CtpAKQispgxadHWB/0/0/*))", "range": [0,10], "watchonly":true, "timestamp":"now"}]'

Error:
[
  {
    "success": false,
    "error": {
      "code": -5,
      "message": "Missing checksum"
    }
  }
]

**Tags:** bitcoin-core, output-script-descriptors, checksum


---

## 1 answers

### Answer by username_1 on 2020-06-07. Score: 0 | Accepted answer

According to the [documentation](https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md), some RPCs need a checksum. `importmulti` is one of those.

You can use `getdescriptorinfo` to add a checksum to an existing checksum-less one.

> **Comments:**
> **username_0**: Thank you! We might want to update https://bitcoin.stackexchange.com/questions/86059/create-multisignature-wallet-from-xpub-keys-in-bitcoin-core/86077#86077 with a comment about this as well  

---

