mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-04-15 02:31:57 +00:00
re-enabled null checks for Xelis afer open()
This commit is contained in:
parent
50163b5d19
commit
4431d8c689
1 changed files with 0 additions and 4 deletions
|
@ -221,9 +221,6 @@ class XelisWallet extends LibXelisWallet {
|
|||
|
||||
@override
|
||||
Future<bool> pingCheck() async {
|
||||
if (libXelisWallet == null) {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
await libXelisWallet!.getDaemonInfo();
|
||||
await handleOnline();
|
||||
|
@ -960,7 +957,6 @@ class XelisWallet extends LibXelisWallet {
|
|||
|
||||
@override
|
||||
Future<void> refresh({int? topoheight}) async {
|
||||
if (libXelisWallet == null) { return; }
|
||||
await refreshMutex.protect(() async {
|
||||
try {
|
||||
final bool online = await libXelisWallet!.isOnline();
|
||||
|
|
Loading…
Reference in a new issue