mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-25 19:55:52 +00:00
add notification address derivation
This commit is contained in:
parent
8b071e8774
commit
33660467b1
1 changed files with 8 additions and 0 deletions
|
@ -1014,6 +1014,14 @@ mixin PaynymWalletInterface {
|
||||||
otherData: paymentCode.toString(),
|
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);
|
await _db.putAddress(address);
|
||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue