Anyone here tried importing a miniscript wallet into Core 28.1.0? I'm hitting an error and could really use some help.
Here's the 'importdescriptors' command I'm working with, but I've redacted the xpubs for privacy. I ran it through a json validator and it checks out okay. However, Core throws a "Key path value '<0;1>' is not a valid uint32" error. I dug into the Core code to see where this error comes from, and it seems to be related to how it parses the stuff in the angle brackets. I stepped through the code, but I can't figure out why it's failing with my input. By the time it throws that error, the string in quotes should just be '0' or '1', not the whole bracketed string.
If anyone has any idea what's going wrong, I would really appreciate it!
Just a quick note on the policy: it's 2-of-3 multisig OR (a single key AND after block 999999).
importdescriptors "[{\"desc\": \"wsh(or_d(multi(2,[369a1776/48'/'0'/'0'/'2']xpub6DtZzm/<0;1>/*,[7de76f74/48'/'0'/'0'/'2']xpub6DjqDNkD7x/<0;1>/*,[d1545269/48'/'0'/'0'/'2']xpub6EDQL4ESvxWR/<0;1>/*),and_v(v:pk([6b642bb7/48'/'0'/'0'/'2']xpub6DoxsMYpT/<0;1>/*),after(999999))))#6zth9pvk\", \"range\":[0, 1000], \"timestamp\":\"now\", \"keypool\":true, \"active\":true, \"watchonly\":true}]"
Error when importing miniscript wallet to Core
2 replies 321 views
Those type of descriptors (referred to as multipath descriptors) were not implemented until 29.0. 28.1 does not support multipath descriptors.
Upgraded to 29.0 and imported successfully, thanks!
?Reply
Sign in to reply to this topic
Related topics
- Issue with Bitcoin Core Wallet after power outage 8
- Transforming my wallet into an HD wallet bitcoin core 26 4
- Recovering a Bitcoin wallet and address 8
- CipherSeed: A Comprehensive Guide to Super-Secure Crypto Wallet Backups 5
- What derivation path does mm-gen wallet use? 3
- Looking for wallet software that supports custom P2SH redeem scripts? 19