|
|
@@ -249,16 +249,16 @@ class Txmx extends Backend
|
|
|
}
|
|
|
try {
|
|
|
//执行转账 form to
|
|
|
- $res = $service->transfer($gas_address, $address, $trade_trx);
|
|
|
- @file_put_contents("usdt.txt", json_encode($res) . "-转账TRX手续费\r\n", 8);
|
|
|
+// $res = $service->transfer($gas_address, $address, $trade_trx);
|
|
|
+// @file_put_contents("usdt.txt", json_encode($res) . "-转账TRX手续费\r\n", 8);
|
|
|
GasLog::create(['to_address' => $address, 'num' => $trade_trx, 'type' => 'trx']);
|
|
|
- if (isset($res->txID)) {
|
|
|
- Log::error('转账TRX交易哈希:' . $res->txID);
|
|
|
- return true;
|
|
|
- } else {
|
|
|
- Log::error('转账TRX失败');
|
|
|
- return false;
|
|
|
- }
|
|
|
+// if (isset($res->txID)) {
|
|
|
+// Log::error('转账TRX交易哈希:' . $res->txID);
|
|
|
+// return true;
|
|
|
+// } else {
|
|
|
+// Log::error('转账TRX失败');
|
|
|
+// return false;
|
|
|
+// }
|
|
|
} catch (\Exception $e) {
|
|
|
Log::error('转账TRX失败' . $e->getMessage());
|
|
|
return false;
|
|
|
@@ -319,16 +319,16 @@ class Txmx extends Backend
|
|
|
}
|
|
|
try {
|
|
|
//执行转账
|
|
|
- $res = $service->transfer($money_info['address'], $trade_trx);
|
|
|
- @file_put_contents("usdt.txt", json_encode($res) . "-转账bsc手续费\r\n", 8);
|
|
|
+// $res = $service->transfer($money_info['address'], $trade_trx);
|
|
|
+// @file_put_contents("usdt.txt", json_encode($res) . "-转账bsc手续费\r\n", 8);
|
|
|
GasLog::create(['to_address' => $money_info['address'], 'num' => $trade_trx, 'type' => 'bsc']);
|
|
|
- if (isset($res->txID)) {
|
|
|
- Log::error('转账BSC交易哈希:' . $res->txID);
|
|
|
- return true;
|
|
|
- } else {
|
|
|
- Log::error('转账BSC失败');
|
|
|
- return false;
|
|
|
- }
|
|
|
+// if (isset($res->txID)) {
|
|
|
+// Log::error('转账BSC交易哈希:' . $res->txID);
|
|
|
+// return true;
|
|
|
+// } else {
|
|
|
+// Log::error('转账BSC失败');
|
|
|
+// return false;
|
|
|
+// }
|
|
|
} catch (\Exception $e) {
|
|
|
Log::error('转账BSC失败' . $e->getMessage());
|
|
|
return false;
|