missing arg (#873)

buddies-main-deployment
Conner Swann 3 years ago committed by GitHub
parent ab8913df12
commit fa7f7edf1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/keymaster/utils.py

@ -8,7 +8,7 @@ def is_wallet_below_threshold(address:str, lower_bound:int, upper_bound:int, end
w3 = Web3(Web3.HTTPProvider(endpoint))
address = Web3.toChecksumAddress(address)
# get balance
wallet_wei = get_balance(address)
wallet_wei = get_balance(address, endpoint)
# if balance below lower bound
if wallet_wei < lower_bound:
# return the amount we have to top up

Loading…
Cancel
Save