mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01: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