瀏覽代碼

一些调整。

skyfffire 4 月之前
父節點
當前提交
eeb48f99bd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,