mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-04-03 04:59:05 +00:00
Update litecoin_wallet_addresses.dart
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
parent
7f862d8c5c
commit
35d7909a0e
1 changed files with 1 additions and 2 deletions
|
@ -205,8 +205,7 @@ abstract class LitecoinWalletAddressesBase extends ElectrumWalletAddresses with
|
|||
String get addressForExchange {
|
||||
// don't use mweb addresses for exchange refund address:
|
||||
final addresses = receiveAddresses
|
||||
.where((element) => element.type == SegwitAddresType.p2wpkh)
|
||||
.where((addr) => !addr.isUsed);
|
||||
.where((element) => element.type == SegwitAddresType.p2wpkh && !element.isUsed);
|
||||
return addresses.first.address;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue