Example #1
0
 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();
     }
 }
Example #2
0
 internal Hashgraph.TransactionReceipt FillProperties(TransactionID transactionId, Hashgraph.TransactionReceipt result)
 {
     FillCommonProperties(transactionId, result);
     return(result);
 }