Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
k-yang and coderabbitai[bot] authored Jan 7, 2025
1 parent 1f0b2ca commit f680e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/rpc/backend/backend_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func WaitForReceipt(s *BackendSuite, txHash gethcommon.Hash) (*big.Int, *gethcom
func (s *BackendSuite) getUnibiBalance(address gethcommon.Address) *hexutil.Big {
latestBlock := rpc.EthLatestBlockNumber
latestBlockOrHash := rpc.BlockNumberOrHash{BlockNumber: &latestBlock}
balance, err := s.backend.GetBalance(s.fundedAccEthAddr, latestBlockOrHash)
balance, err := s.backend.GetBalance(address, latestBlockOrHash)
s.Require().NoError(err)
return balance
}

0 comments on commit f680e2c

Please sign in to comment.