Skip to content

Commit 739aed5

Browse files
committed
fix class dispatcher depends= attributes
1 parent 0c04040 commit 739aed5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

litecointx/core/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
CMutableTransaction, CMutableTxIn, CMutableTxOut, CMutableTxWitness,
1919
CMutableTxInWitness, COutPoint, CMutableOutPoint
2020
)
21+
from .script import ScriptLitecoinClassDispatcher
2122

2223

23-
class CoreLitecoinClassDispatcher(CoreCoinClassDispatcher):
24+
class CoreLitecoinClassDispatcher(CoreCoinClassDispatcher,
25+
depends=[ScriptLitecoinClassDispatcher]):
2426
...
2527

2628

litecointx/wallet.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
CBase58CoinAddress, CBech32CoinAddress,
1818
CCoinKey, CCoinExtKey, CCoinExtPubKey
1919
)
20+
from .core import CoreLitecoinClassDispatcher
2021

2122

22-
class WalletLitecoinClassDispatcher(WalletCoinClassDispatcher):
23+
class WalletLitecoinClassDispatcher(WalletCoinClassDispatcher,
24+
depends=[CoreLitecoinClassDispatcher]):
2325
...
2426

2527

0 commit comments

Comments
 (0)