From 57467ce3f98bd760748efbf9038e5ab2c27e2ce9 Mon Sep 17 00:00:00 2001 From: Fornax <23104993+fornax2@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:30:22 -0300 Subject: [PATCH] Fix balance check --- rocketpool/api/node/deposit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocketpool/api/node/deposit.go b/rocketpool/api/node/deposit.go index f2cee3359..891c69817 100644 --- a/rocketpool/api/node/deposit.go +++ b/rocketpool/api/node/deposit.go @@ -93,7 +93,7 @@ func canNodeDeposit(c *cli.Context, amountWei *big.Int, minNodeFee float64, salt // Check credit balance wg1.Go(func() error { - ethBalanceWei, err := node.GetNodeUsableCreditAndBalance(rp, nodeAccount.Address, nil) + ethBalanceWei, err := node.GetNodeCreditAndBalance(rp, nodeAccount.Address, nil) if err == nil { response.CreditBalance = ethBalanceWei }