Skip to content

Commit

Permalink
Fixing issues with generate to and large numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-allcode committed Oct 2, 2018
1 parent de9c2af commit a79f48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NeoFlux/Controllers/ContractController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public JsonResult GenerateTo([FromBody] JObject jsonData)
/** Get transfer data */
var contractScripHash = jsonData.GetValue("contractScriptHash").Value<string>();
var toAddress = jsonData.GetValue("recipientAddress").Value<string>();
var amount = jsonData.GetValue("amount").Value<int>();
var amount = jsonData.GetValue("amount").Value<double>();
/* Get owner data from private key */
var fromPrivateKey = jsonData.GetValue("ownerPrivateKeyHash").Value<string>();
Expand Down

0 comments on commit a79f48d

Please sign in to comment.