smejak commited on
Commit
9a6de47
1 Parent(s): 956d3a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,10 +23,11 @@ def wallet():
23
 
24
  lower_case_address = connect("wallet")
25
  st.write(lower_case_address[0][0:2])
 
26
  if len(lower_case_address[0]) > 3:
27
  address = Web3.toChecksumAddress(lower_case_address[0])
28
  st.write(address)
29
- if string(address[0][0:2]) == "0x":
30
 
31
  OCEAN_token = BToken(ocean.web3, ocean.OCEAN_address)
32
 
 
23
 
24
  lower_case_address = connect("wallet")
25
  st.write(lower_case_address[0][0:2])
26
+ address = ''
27
  if len(lower_case_address[0]) > 3:
28
  address = Web3.toChecksumAddress(lower_case_address[0])
29
  st.write(address)
30
+ if str(address[0][0:2]) == "0x":
31
 
32
  OCEAN_token = BToken(ocean.web3, ocean.OCEAN_address)
33