From 5b97dae63b3be5cb1114dc21fd425c3cc18af2b7 Mon Sep 17 00:00:00 2001 From: perror <23651751+perrornet@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:01:07 +0800 Subject: [PATCH] Fix TestBalanceOnChain_Check error --- utils/bot/balance_on_chain/monitor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/bot/balance_on_chain/monitor_test.go b/utils/bot/balance_on_chain/monitor_test.go index d61070f..f66bec4 100644 --- a/utils/bot/balance_on_chain/monitor_test.go +++ b/utils/bot/balance_on_chain/monitor_test.go @@ -79,7 +79,7 @@ func TestBalanceOnChain_Check(t *testing.T) { assert.Equal(t, bot.Queue, Type) assert.Len(t, tasks, 1) // 1000 + (1000 * 0.3) - assert.Equal(t, strconv.Itoa(1000+(1000*0.3)), tasks[0].Amount.String()) + assert.Equal(t, strconv.Itoa(1000+(1000*0.01)), tasks[0].Amount.String()) assert.Equal(t, constant.ZeroAddress.Hex(), tasks[0].Wallet) assert.Equal(t, "ETH", tasks[0].TokenOutName) assert.Equal(t, constant.Ethereum, tasks[0].TokenOutChainName)