mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
minor fallback [skip ci]
This commit is contained in:
@@ -204,13 +204,15 @@ abstract class LitecoinWalletAddressesBase extends ElectrumWalletAddresses with
|
||||
|
||||
if (mwebEnabled) {
|
||||
await ensureMwebAddressUpToIndexExists(1);
|
||||
updateChangeAddresses();
|
||||
return BitcoinAddressRecord(
|
||||
mwebAddrs[0],
|
||||
index: 0,
|
||||
type: SegwitAddresType.mweb,
|
||||
network: network,
|
||||
);
|
||||
if (mwebAddrs.isNotEmpty) {
|
||||
updateChangeAddresses();
|
||||
return BitcoinAddressRecord(
|
||||
mwebAddrs[0],
|
||||
index: 0,
|
||||
type: SegwitAddresType.mweb,
|
||||
network: network,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return super.getChangeAddress();
|
||||
|
||||
Reference in New Issue
Block a user