Skip to content

Commit

Permalink
Merge pull request #316 from lidofinance/fix/ensure-balance
Browse files Browse the repository at this point in the history
Fix/ensure balance
  • Loading branch information
iamnp authored Nov 13, 2024
2 parents 6d72479 + b895c8d commit b344d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def add_balance_check_middleware():
# TODO: Such implicit manipulation of the balances may lead to hard-debugging errors in the future.
# Better to return back balance after request is done.
def ensure_balance(address):
if web3.eth.get_balance(address) < ETH(1):
if web3.eth.get_balance(address) < ETH(10):
set_balance(address, 1000000)

def balance_check_middleware(make_request, web3):
Expand Down

0 comments on commit b344d00

Please sign in to comment.