Skip to content

Commit

Permalink
Return unknown for custom providers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Oct 17, 2023
1 parent 16e7ae4 commit 5220475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocean_provider/utils/basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def get_network_name(chain_id: int) -> str:
if v["chainId"] == chain_id:
return k

return "Unknown"


def send_ether(web3, from_wallet: Account, to_address: str, amount: int):
"""Sends ether from wallet to the address."""
Expand Down

0 comments on commit 5220475

Please sign in to comment.