From d0952863d10f364b17cb6efd6f8044431bfa2ce1 Mon Sep 17 00:00:00 2001 From: kha0S Date: Mon, 30 Jun 2014 17:03:47 +0100 Subject: [PATCH] Fix NovaCoin 0.4.4.7b5 getblocktemplate default behavior change, that was preventing stratum-mining from starting. --- lib/bitcoin_rpc.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/bitcoin_rpc.py b/lib/bitcoin_rpc.py index e417fc7..cfae41f 100644 --- a/lib/bitcoin_rpc.py +++ b/lib/bitcoin_rpc.py @@ -51,7 +51,7 @@ class BitcoinRPC(object): @defer.inlineCallbacks def getblocktemplate(self): - resp = (yield self._call('getblocktemplate', [])) + resp = (yield self._call('getblocktemplate', [{}])) defer.returnValue(json.loads(resp)['result']) @defer.inlineCallbacks -- 1.7.1