ZPUB can be imported as XPUB
alex27riva opened this issue · 1 comments
alex27riva commented
Hi everyone, I just realized that a zpub extended public key can be imported as xpub.
The check in the code seems to be missing.
I think this is dangerous, and that it can result in the loss of funds.
InvertedX commented
you wont loose funds if you register zpub as xpub. your funds are safe. server will index wrong address, but that can be mitigate by re-registering on the server.. i will add more enhancement in the registering screen