Skip to content

Commit

Permalink
Merge pull request #40 from mraniki/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
mraniki authored Apr 13, 2023
2 parents 228dbd2 + 38a6027 commit 6333227
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dxsp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from dxsp.assets.blockchains import blockchains

logger = logging.getLogger(__name__).addHandler(logging.NullHandler())



class DexSwap:
Expand All @@ -28,9 +28,11 @@ def __init__(self,
base_trading_symbol: str = None,
amount_trading_option: int = 1,
):
logger.debug("dxsp setup started")
logging.getLogger(__name__).addHandler(logging.NullHandler())
logging.debug(msg=f"DexSwap initiated for chain_id" {chain_id})
self.chain_id = int(chain_id)
blockchain = blockchains[self.chain_id ]
logging.debug(msg=f"blockchain details" {blockchain})

self.wallet_address = wallet_address
self.private_key = private_key
Expand Down

0 comments on commit 6333227

Please sign in to comment.