mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
[skip ci] fix always scan setting, swift updates
This commit is contained in:
parent
91f8f8fef5
commit
d8accfb38b
2 changed files with 24 additions and 12 deletions
|
@ -189,6 +189,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
initialRegularAddressIndex: snp?.regularAddressIndex,
|
||||
initialChangeAddressIndex: snp?.changeAddressIndex,
|
||||
addressPageType: snp?.addressPageType,
|
||||
alwaysScan: alwaysScan,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -818,4 +819,15 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
stopSync();
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue