add comment

This commit is contained in:
sneurlax 2023-10-13 10:52:28 -05:00
parent 84529f37db
commit 706b98834b

View file

@ -155,6 +155,7 @@ mixin FusionWalletInterface {
final address = (await _getNextUnusedChangeAddress())
.copyWith(otherData: kReservedFusionAddress);
// Make sure the address is in the database as reserved for Fusion.
final _address = await _db.getAddress(_walletId, address.value);
if (_address != null) {
await _db.updateAddress(_address, address);