mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
type disambiguation
This commit is contained in:
parent
32c0c55830
commit
8eef870375
1 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ mixin FusionInterface {
|
|||
return address.toFusionAddress();
|
||||
}
|
||||
|
||||
Future<List<Address>> getUnusedReservedChangeAddresses(
|
||||
Future<List<cash_fusion.Address>> getUnusedReservedChangeAddresses(
|
||||
int numberOfAddresses,
|
||||
) async {
|
||||
final txns = await _db
|
||||
|
@ -84,11 +84,11 @@ mixin FusionInterface {
|
|||
.otherDataEqualTo(kReservedFusionAddress)
|
||||
.findAll();
|
||||
|
||||
final List<Address> unusedAddresses = [];
|
||||
final List<cash_fusion.Address> unusedAddresses = [];
|
||||
|
||||
for (final address in addresses) {
|
||||
if (!usedAddresses.contains(address.value)) {
|
||||
unusedAddresses.add(address);
|
||||
unusedAddresses.add(address.toFusionAddress());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue