decentralizedsurvey commited on
Commit
acd7171
·
1 Parent(s): b1ca806

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ if button:
37
  df = pandas.DataFrame()
38
 
39
  # Getting logs from ETH contract
40
- contract = w3.eth.contract( address = contract_address, abi = ABI)
41
  logs = contract.events.Store.get_logs(fromBlock= 4635673)
42
 
43
  # Writing a label
 
37
  df = pandas.DataFrame()
38
 
39
  # Getting logs from ETH contract
40
+ contract = w3.eth.contract( address = w3.to_checksum_address(contract_address), abi = ABI)
41
  logs = contract.events.Store.get_logs(fromBlock= 4635673)
42
 
43
  # Writing a label