fix: banano address type

This commit is contained in:
julian 2023-06-07 14:28:00 -06:00
parent 061f7d5c0d
commit 3a58955f60

View file

@ -279,7 +279,7 @@ class BananoWallet extends CoinServiceAPI
Future<Address?> get _currentReceivingAddress => db Future<Address?> get _currentReceivingAddress => db
.getAddresses(walletId) .getAddresses(walletId)
.filter() .filter()
.typeEqualTo(AddressType.nano) .typeEqualTo(AddressType.banano)
.and() .and()
.subTypeEqualTo(AddressSubType.receiving) .subTypeEqualTo(AddressSubType.receiving)
.sortByDerivationIndexDesc() .sortByDerivationIndexDesc()