You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the ability to import the private key generated by Electrum Wallet on testnet I found that electrum was providing an vprv key based on the BIP 84 standard.
While passing this key in walletClient.createWallet() as the "master" key it throws the following error:
Error: Network mismatch for xprivkey.
At a minimum, this error is misleading. The vprv key is used for testnet P2WPKH addresses. While I can't expect bcoin to support every BIP standard, the error message should not mention that the network is incorrect if it does not recognize the private key format.
The text was updated successfully, but these errors were encountered:
While testing the ability to import the private key generated by Electrum Wallet on testnet I found that electrum was providing an vprv key based on the BIP 84 standard.
While passing this key in
walletClient.createWallet()
as the "master" key it throws the following error:At a minimum, this error is misleading. The vprv key is used for testnet P2WPKH addresses. While I can't expect bcoin to support every BIP standard, the error message should not mention that the network is incorrect if it does not recognize the private key format.
The text was updated successfully, but these errors were encountered: