Skip to content

Commit 667eb59

Browse files
author
Ross Nicoll
committed
Switch MainParams to inherit from CoreMainParams
Previously MainParams inherited from CoreChainParams, which meant the core main network parameters were not set.
1 parent 22d0256 commit 667eb59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitcoin/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import bitcoin.core
1515

16-
class MainParams(bitcoin.core.CoreChainParams):
16+
class MainParams(bitcoin.core.CoreMainParams):
1717
MESSAGE_START = b'\xf9\xbe\xb4\xd9'
1818
DEFAULT_PORT = 8333
1919
RPC_PORT = 8332

0 commit comments

Comments
 (0)