From fa7f7edf1dcf5392c1150e93f861f049baf9f9aa Mon Sep 17 00:00:00 2001 From: Conner Swann Date: Mon, 4 Oct 2021 13:06:03 -0700 Subject: [PATCH] missing arg (#873) --- tools/keymaster/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/keymaster/utils.py b/tools/keymaster/utils.py index 9490f5ef5..c4194e83e 100644 --- a/tools/keymaster/utils.py +++ b/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