mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
add comment
This commit is contained in:
parent
84529f37db
commit
706b98834b
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ mixin FusionWalletInterface {
|
||||||
final address = (await _getNextUnusedChangeAddress())
|
final address = (await _getNextUnusedChangeAddress())
|
||||||
.copyWith(otherData: kReservedFusionAddress);
|
.copyWith(otherData: kReservedFusionAddress);
|
||||||
|
|
||||||
|
// Make sure the address is in the database as reserved for Fusion.
|
||||||
final _address = await _db.getAddress(_walletId, address.value);
|
final _address = await _db.getAddress(_walletId, address.value);
|
||||||
if (_address != null) {
|
if (_address != null) {
|
||||||
await _db.updateAddress(_address, address);
|
await _db.updateAddress(_address, address);
|
||||||
|
|
Loading…
Reference in a new issue