diff --git a/backend/grant/web3/proposal.py b/backend/grant/web3/proposal.py index 282c70cc..4132702b 100644 --- a/backend/grant/web3/proposal.py +++ b/backend/grant/web3/proposal.py @@ -20,6 +20,9 @@ def get_crowd_fund_abi(): def read_proposal(address): + if not address: + return None + current_web3.eth.defaultAccount = '0x537680D921C000fC52Af9962ceEb4e359C50F424' if not current_web3.eth.accounts else \ current_web3.eth.accounts[0] crowd_fund_abi = get_crowd_fund_abi()