Skip to content

Commit

Permalink
fix #13 (incorrect 0x prefix on txid in getclaimable)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Pierson committed Nov 20, 2019
1 parent 660ecae commit 3e46990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo2/ExpressNodeRpcPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ private JObject GetClaimable(JArray @params)
totalUnclaimed += unclaimed;

var utxo = new JObject();
utxo["txid"] = coin.Reference.PrevHash.ToString();
utxo["txid"] = coin.Reference.PrevHash.ToString().Substring(2);
utxo["n"] = coin.Reference.PrevIndex;
utxo["start_height"] = startHeight;
utxo["end_height"] = endHeight;
Expand Down

0 comments on commit 3e46990

Please sign in to comment.