EthereumTwView: remove inheritance

This commit is contained in:
The MMGen Project 2025-05-26 09:39:11 +00:00
commit 19a9ae9933
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
2 changed files with 2 additions and 4 deletions

View file

@ -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):

View file

@ -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