private ErrorCode WalletSearchAllRecordsHandler(int storage_handle, ref int search_handle_p)
 {
     try
     {
         search_handle_p = _storage.SearchAllRecordsAsync(storage_handle).GetAwaiter().GetResult();
         return(ErrorCode.Success);
     }
     catch
     {
         return(ErrorCode.WalletStorageError);
     }
 }