Пример #1
0
 private ErrorCode WalletGetRecordTypeHandler(int storage_handle, int record_handle,
                                              ref string record_type_p)
 {
     try
     {
         record_type_p = _storage.GetRecordTypeAsync(storage_handle, record_handle).GetAwaiter().GetResult();
         return(ErrorCode.Success);
     }
     catch
     {
         return(ErrorCode.WalletStorageError);
     }
 }