Update transfer_tokens.php

Removed an error converting numbers into string leading to transfers of RMTs not being proper
This commit is contained in:
tripathyr 2025-06-29 08:20:24 +05:30 committed by GitHub
parent 02680ef541
commit d1abf710bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ if (isset($_POST['job']) && trim($_POST['job']) == "transfer_tokens") {
if (isset($_POST['_from'], $_POST['_to'], $_POST['_tokens'])) {
$from = (int) $_POST['_from'];
$to = (int) $_POST['_to'];
$tokens = number_format($_POST['_tokens'], 10);
$tokens = (float) $_POST['_tokens'];
$std = new stdClass();
$std->mesg = array();