Skip to content

Commit

Permalink
Merge pull request #696 from rocket-pool/v1-fix-credit-balance-check
Browse files Browse the repository at this point in the history
Fix balance check
  • Loading branch information
0xfornax authored Nov 2, 2024
2 parents 54629df + 57467ce commit 5a149f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketpool/api/node/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5a149f7

Please sign in to comment.