Ejemplo n.º 1
0
 private ErrorCode WalletGetRecordIdHandler(int storage_handle, int record_handle,
                                            ref string record_id_p)
 {
     try
     {
         record_id_p = _storage.GetRecordIdAsync(storage_handle, record_handle).GetAwaiter().GetResult();
         return(ErrorCode.Success);
     }
     catch
     {
         return(ErrorCode.WalletStorageError);
     }
 }