From 19a9ae9933cef5b3dd16b66e5e771f79f26975df Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Mon, 26 May 2025 09:39:11 +0000 Subject: [PATCH] EthereumTwView: remove inheritance --- mmgen/proto/eth/tw/addresses.py | 2 +- mmgen/proto/eth/tw/view.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mmgen/proto/eth/tw/addresses.py b/mmgen/proto/eth/tw/addresses.py index f4f2512a..000befc7 100755 --- a/mmgen/proto/eth/tw/addresses.py +++ b/mmgen/proto/eth/tw/addresses.py @@ -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): diff --git a/mmgen/proto/eth/tw/view.py b/mmgen/proto/eth/tw/view.py index 94b157af..625f37e2 100755 --- a/mmgen/proto/eth/tw/view.py +++ b/mmgen/proto/eth/tw/view.py @@ -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