Skip to content

Commit

Permalink
Merge pull request #42 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 ea8b6f3 + 63ca048 commit 1b31363
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dxsp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from web3 import Web3
from pycoingecko import CoinGeckoAPI

from dxsp.assets.blockchains import blockchains
from assets.blockchains import blockchains



Expand All @@ -29,10 +29,10 @@ def __init__(self,
amount_trading_option: int = 1,
):
logging.getLogger(__name__).addHandler(logging.NullHandler())
logging.debug(msg=f"DexSwap initiated for chain_id" {chain_id})
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})
logging.debug(msg=f"blockchain details {blockchain}")

self.wallet_address = wallet_address
self.private_key = private_key
Expand Down
2 changes: 1 addition & 1 deletion examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# base_trading_symbol = os.getenv("BASE_TRADE_SYMBOL", 'USDT')
# amount_trading_option = os.getenv("AMOUNT_TRADING_OPTION", 1)

from dxsp import DexSwap
from dxsp.main import DexSwap



Expand Down

0 comments on commit 1b31363

Please sign in to comment.