Update transfer_tokens.php
Removed an error converting numbers into string leading to transfers of RMTs not being proper
This commit is contained in:
parent
02680ef541
commit
d1abf710bb
@ -9,7 +9,7 @@ if (isset($_POST['job']) && trim($_POST['job']) == "transfer_tokens") {
|
|||||||
if (isset($_POST['_from'], $_POST['_to'], $_POST['_tokens'])) {
|
if (isset($_POST['_from'], $_POST['_to'], $_POST['_tokens'])) {
|
||||||
$from = (int) $_POST['_from'];
|
$from = (int) $_POST['_from'];
|
||||||
$to = (int) $_POST['_to'];
|
$to = (int) $_POST['_to'];
|
||||||
$tokens = number_format($_POST['_tokens'], 10);
|
$tokens = (float) $_POST['_tokens'];
|
||||||
|
|
||||||
$std = new stdClass();
|
$std = new stdClass();
|
||||||
$std->mesg = array();
|
$std->mesg = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user