/// <summary> /// /// </summary> /// <param name="transactionId"></param> /// <returns></returns> public TransactionModel Get(byte[] transactionId) { Guard.Argument(transactionId, nameof(transactionId)).NotNull().MaxCount(32); TransactionModel transaction = null; try { transaction = _pooledTransactions.FirstOrDefault(x => x.TxnId == transactionId.HexToByte()); } catch (Exception ex) { _logger.Here().Error(ex, "Unable to find transaction with {@txnId}", transactionId.ByteToHex()); } return(transaction); }