Skip to content

Commit

Permalink
Update RpcNep5Tracker/RpcNep5Tracker.cs
Browse files Browse the repository at this point in the history
Co-Authored-By: Erik Zhang <erik@neo.org>
  • Loading branch information
shargon and erikzhang authored Nov 30, 2019
1 parent a1781b4 commit 8ae8d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RpcNep5Tracker/RpcNep5Tracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private void AddTransfers(byte dbPrefix, UInt160 userScriptHash, ulong startTime
if (++resultCount > _maxResults) break;
JObject transfer = new JObject();
transfer["timestamp"] = transferPair.Key.TimestampMS;
transfer["asset_hash"] = transferPair.Key.AssetScriptHash.ToArray().Reverse().ToArray().ToHexString();
transfer["asset_hash"] = transferPair.Key.AssetScriptHash.ToString();
transfer["transfer_address"] = transferPair.Value.UserScriptHash.ToAddress();
transfer["amount"] = transferPair.Value.Amount.ToString();
transfer["block_index"] = transferPair.Value.BlockIndex;
Expand Down

0 comments on commit 8ae8d51

Please sign in to comment.