Пример #1
0
 private ErrorCode WalletGetRecordHandler(int storage_handle, string type_, string id,
                                          string options_json, ref int record_handle_p)
 {
     try
     {
         record_handle_p = _storage.GetRecordAsync(storage_handle, type_, id, options_json).GetAwaiter()
                           .GetResult();
         return(ErrorCode.Success);
     }
     catch
     {
         return(ErrorCode.WalletItemNotFoundError);
     }
 }