Skip to content

Commit

Permalink
Fix TestBalanceOnChain_Check error
Browse files Browse the repository at this point in the history
  • Loading branch information
perrornet committed Aug 27, 2024
1 parent f35a2a4 commit 5b97dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/bot/balance_on_chain/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5b97dae

Please sign in to comment.