diff --git a/bancor_research/bancor_simulator/v3/spec/network.py b/bancor_research/bancor_simulator/v3/spec/network.py index ecc297b..740dff6 100644 --- a/bancor_research/bancor_simulator/v3/spec/network.py +++ b/bancor_research/bancor_simulator/v3/spec/network.py @@ -218,7 +218,6 @@ def deposit( ) self.next_transaction(state) - def trade( self, tkn_amt: str, @@ -252,7 +251,6 @@ def trade( ) self.next_transaction(state) - def begin_cooldown_by_rtkn( self, tkn_amt: str, @@ -327,7 +325,6 @@ def withdraw( ) self.next_transaction(state) - def enable_trading( self, tkn_name: str, @@ -356,7 +353,6 @@ def enable_trading( ) self.next_transaction(state) - def describe(self, decimals: int = -1): """ Describes the state ledger in a format similar to BIP15 documentation. @@ -435,7 +431,7 @@ def whitelist_token(self, tkn_name: str, timestamp: int = 0): """ state = self.get_state(copy_type="initial", timestamp=timestamp) tkn_name = tkn_name.lower() - state.price_feeds[tkn_name]=state.price_feeds['bnt'].values + state.price_feeds[tkn_name] = state.price_feeds["bnt"].values state.create_whitelisted_tkn(tkn_name) handle_whitelisting_tokens(state)