private ErrorCode WalletCloseHandler(int storage_handle) { try { _storage.CloseAsync(storage_handle).GetAwaiter().GetResult(); return(ErrorCode.Success); } catch { return(ErrorCode.WalletStorageError); } }
private ErrorCode WalletCloseHandler(int storage_handle) { try { _storage.CloseAsync(storage_handle).GetAwaiter().GetResult(); return(ErrorCode.Success); } catch { return(ErrorCode.WalletStorageError); } }