Skip to content

Commit

Permalink
merge pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmitry77 committed Jul 30, 2020
2 parents d40cb08 + ab72a75 commit bd77a46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ Publish/
sample.json
node_info.json
wal_bal.json
tools/python/list_txs.json
*.db
[Pp]ublish
/tools/python/list_txs.json
*.db
4 changes: 3 additions & 1 deletion WebApiNode/CS.Service/RestApiNode/MonitorService.Convert.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using CS.Service.RestApiNode.Models;
using CS.Service.Monitor;
using CS.Service.RestApiNode.Models;
using NodeApi;
using System;

Expand All @@ -19,6 +20,7 @@ public TransactionInfo ToTransactionInfo(long idx, TransactionId id, Transaction
//Fee = Utils.ConvertCommission(tr.Fee.Commission, roundFee),
Fee = Utils.FeeByIndex(tr.Fee.Commission),
InnerId = tr.Id,
UserData = System.Text.Encoding.UTF8.GetString(tr.UserFields),
Time = Utils.UnixTimeStampToDateTime(tr.TimeCreation),
Status = "Success",//?????????????????????????????????
Signature = Utils.ConvertHash(tr.Signature),
Expand Down

0 comments on commit bd77a46

Please sign in to comment.