From 667eb59ccac0ea4920b91bf02dbdc1e68b0820de Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Sun, 11 Jan 2015 12:57:12 +0000 Subject: [PATCH] Switch MainParams to inherit from CoreMainParams Previously MainParams inherited from CoreChainParams, which meant the core main network parameters were not set. --- bitcoin/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/__init__.py b/bitcoin/__init__.py index de56cd5d..4fade2f8 100644 --- a/bitcoin/__init__.py +++ b/bitcoin/__init__.py @@ -13,7 +13,7 @@ import bitcoin.core -class MainParams(bitcoin.core.CoreChainParams): +class MainParams(bitcoin.core.CoreMainParams): MESSAGE_START = b'\xf9\xbe\xb4\xd9' DEFAULT_PORT = 8333 RPC_PORT = 8332