[skip ci] fix always scan setting, swift updates

This commit is contained in:
Matthew Fosse 2024-08-14 11:31:28 -07:00
parent 91f8f8fef5
commit d8accfb38b
2 changed files with 24 additions and 12 deletions

View file

@ -189,6 +189,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
initialRegularAddressIndex: snp?.regularAddressIndex, initialRegularAddressIndex: snp?.regularAddressIndex,
initialChangeAddressIndex: snp?.changeAddressIndex, initialChangeAddressIndex: snp?.changeAddressIndex,
addressPageType: snp?.addressPageType, addressPageType: snp?.addressPageType,
alwaysScan: alwaysScan,
); );
} }
@ -818,4 +819,15 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
stopSync(); stopSync();
startSync(); startSync();
} }
Future<RpcClient> getStub() async {
_stub = await CwMweb.stub();
return _stub;
}
Future<StatusResponse> getStatusRequest() async {
await getStub();
final resp = await _stub.status(StatusRequest());
return resp;
}
} }