Explorar o código

一些调整。

skyfffire hai 4 meses
pai
achega
eeb48f99bd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,