private void FillCommonProperties(TransactionID transactionId, Hashgraph.TransactionReceipt result) { result.Id = transactionId.ToTxId(); result.Status = (ResponseCode)Status; if (ExchangeRate != null) { result.CurrentExchangeRate = ExchangeRate.CurrentRate?.ToExchangeRate(); result.NextExchangeRate = ExchangeRate.NextRate?.ToExchangeRate(); } }
internal Hashgraph.TransactionReceipt FillProperties(TransactionID transactionId, Hashgraph.TransactionReceipt result) { FillCommonProperties(transactionId, result); return(result); }