Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Incompatible contract descriptor #2

Open
claudiosdc opened this issue Mar 17, 2021 · 1 comment
Open

Incompatible contract descriptor #2

claudiosdc opened this issue Mar 17, 2021 · 1 comment

Comments

@claudiosdc
Copy link

I have noticed that the My Citadel app (installed on my iPhone) is showing a descriptor text in the "Share descriptor" section of the "Contract details" panel (right below the QR code) that is not compatible with the Bitcoin output descriptor reference found here.

This is the descriptor text displayed on the My Citadel app:

wpkh(m=[f7e41fce]/827166'/0'/1'/1537404484'/802918955'=[tpubDGDcjfCNU5T8FBXVquV8TqM8WZyLh3WGEq4CQB3heHzwDeXUGwKuF1QMiueug5vYimpNhnGGtbkHDWvXXL4mmshNYgXUsi2KXZvNu5o5JxD]/0/*)#tgh8pjqe

And this was the expected descriptor text compatible with the reference doc:

wpkh([f7e41fce/827166'/0'/1'/1537404484'/802918955']tpubDGDcjfCNU5T8FBXVquV8TqM8WZyLh3WGEq4CQB3heHzwDeXUGwKuF1QMiueug5vYimpNhnGGtbkHDWvXXL4mmshNYgXUsi2KXZvNu5o5JxD/0/*)#xxxxxxxx

Where #xxxxxxxx is the appropriately calculated checksum.

@dr-orlovsky
Copy link
Member

Yes, this is an intentional extension of the standard. You can manually remove m= prefix and checksum and it will work with Bitcoin Core. But you should not do that since bitcoin Core is RGB unaware and will not see all utxos (some of them are tweaked)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants