private Hash GetHashCombiningTransactionAndStatus(Hash txId,
                                                          TransactionResultStatus executionReturnStatus)
        {
            // combine tx result status
            var rawBytes = txId.ToByteArray().Concat(Encoding.UTF8.GetBytes(executionReturnStatus.ToString()))
                           .ToArray();

            return(Hash.FromRawBytes(rawBytes));
        }
        private Hash GetHashCombiningTransactionAndStatus(Hash txId,
                                                          TransactionResultStatus executionReturnStatus)
        {
            // combine tx result status
            var rawBytes = ByteArrayHelper.ConcatArrays(txId.ToByteArray(),
                                                        EncodingHelper.EncodeUtf8(executionReturnStatus.ToString()));

            return(HashHelper.ComputeFrom(rawBytes));
        }