kopia lustrzana https://github.com/bugout-dev/moonstream
Replace to warning.
rodzic
d7281b6d14
commit
da0f089c0d
|
@ -949,11 +949,10 @@ def check_if_smart_contract(
|
||||||
web3_client = connect(blockchain_type, user_token=user_token)
|
web3_client = connect(blockchain_type, user_token=user_token)
|
||||||
|
|
||||||
is_contract = False
|
is_contract = False
|
||||||
breakpoint()
|
|
||||||
try:
|
try:
|
||||||
code = web3_client.eth.getCode(address)
|
code = web3_client.eth.getCode(address)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(
|
logger.warning(
|
||||||
f"Error while getting code of address: {e} in blockchain: {blockchain_type}"
|
f"Error while getting code of address: {e} in blockchain: {blockchain_type}"
|
||||||
)
|
)
|
||||||
code = b""
|
code = b""
|
||||||
|
|
Ładowanie…
Reference in New Issue