exporting bip44 private key is not allowed, we only export public key
This commit is contained in:
parent
97b95a3a6f
commit
6b1991beaf
|
@ -318,7 +318,7 @@ public class SmartCard extends BroadcastReceiver implements CardListener {
|
|||
cmdSet.deriveKey(walletPath).checkOK();
|
||||
Log.i(TAG, "Derived " + walletPath);
|
||||
|
||||
byte[] tlv = cmdSet.exportKey(WalletAppletCommandSet.EXPORT_KEY_P1_HIGH, false).checkOK().getData();
|
||||
byte[] tlv = cmdSet.exportKey(WalletAppletCommandSet.EXPORT_KEY_P1_ANY, true).checkOK().getData();
|
||||
BIP32KeyPair walletKeyPair = BIP32KeyPair.fromTLV(tlv);
|
||||
|
||||
String whisperPath = "m/43'/60'/1581'/0/1073741824'";
|
||||
|
|
Loading…
Reference in New Issue