add notification address derivation

This commit is contained in:
julian 2023-01-27 10:22:55 -06:00
parent 8b071e8774
commit 33660467b1

View file

@ -1014,6 +1014,14 @@ mixin PaynymWalletInterface {
otherData: paymentCode.toString(),
);
await _addDerivation(
chain: 0,
address: address.value,
derivePathType: DerivePathType.bip44,
pubKey: Format.uint8listToString(node.publicKey),
wif: node.toWIF(),
);
await _db.putAddress(address);
return address;
}