EthereumTwView: remove inheritance
This commit is contained in:
parent
1072936f7b
commit
19a9ae9933
2 changed files with 2 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ from ....tw.addresses import TwAddresses
|
|||
from .view import EthereumTwView
|
||||
from .rpc import EthereumTwRPC
|
||||
|
||||
class EthereumTwAddresses(TwAddresses, EthereumTwView, EthereumTwRPC):
|
||||
class EthereumTwAddresses(EthereumTwView, TwAddresses, EthereumTwRPC):
|
||||
pass
|
||||
|
||||
class EthereumTokenTwAddresses(EthereumTwAddresses):
|
||||
|
|
|
|||
|
|
@ -12,9 +12,7 @@
|
|||
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):
|
||||
return self.proto.coin_amt.max_prec if wide else 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue