private ErrorCode WalletFreeSearchHandler(int storage_handle, int search_handle) { try { _storage.FreeSearchAsync(storage_handle, search_handle).GetAwaiter() .GetResult(); return(ErrorCode.Success); } catch { return(ErrorCode.WalletStorageError); } }