Răsfoiți Sursa

一些调整。

skyfffire 4 luni în urmă
părinte
comite
eeb48f99bd
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      checker/mexc_to_erc20_checker.py

+ 1 - 1
checker/mexc_to_erc20_checker.py

@@ -192,7 +192,7 @@ def send_arb_msg(profit_amount, chain_swap_data, human_in_base, human_out_base,
 
     arbitrage_data = {
         "tx": tx, # 预签名交易
-        "profit": 5,
+        "profit": str(profit_amount.quantize(decimal.Decimal('0.001'))),
         "profitLimit": str(PROFIT_LIMIT.quantize(decimal.Decimal('0.001'))),
         "symbol": MEXC_TARGET_PAIR_USDT,
         "fromToken": IN_TOKEN_ADDRESS,