Browse Source

EthereumTwView: remove inheritance

The MMGen Project 6 months ago
parent
commit
19a9ae9933
2 changed files with 2 additions and 4 deletions
  1. 1 1
      mmgen/proto/eth/tw/addresses.py
  2. 1 3
      mmgen/proto/eth/tw/view.py

+ 1 - 1
mmgen/proto/eth/tw/addresses.py

@@ -17,7 +17,7 @@ from ....tw.addresses import TwAddresses
 from .view import EthereumTwView
 from .view import EthereumTwView
 from .rpc import EthereumTwRPC
 from .rpc import EthereumTwRPC
 
 
-class EthereumTwAddresses(TwAddresses, EthereumTwView, EthereumTwRPC):
+class EthereumTwAddresses(EthereumTwView, TwAddresses, EthereumTwRPC):
 	pass
 	pass
 
 
 class EthereumTokenTwAddresses(EthereumTwAddresses):
 class EthereumTokenTwAddresses(EthereumTwAddresses):

+ 1 - 3
mmgen/proto/eth/tw/view.py

@@ -12,9 +12,7 @@
 proto.eth.tw.view: Ethereum base protocol base class for tracking wallet view classes
 proto.eth.tw.view: Ethereum base protocol base class for tracking wallet view classes
 """
 """
 
 
-from ....tw.view import TwView
-
-class EthereumTwView(TwView):
+class EthereumTwView:
 
 
 	def get_disp_prec(self, wide):
 	def get_disp_prec(self, wide):
 		return self.proto.coin_amt.max_prec if wide else 8
 		return self.proto.coin_amt.max_prec if wide else 8