From: kha0S Date: Mon, 30 Jun 2014 16:03:47 +0000 (+0100) Subject: Fix NovaCoin 0.4.4.7b5 getblocktemplate default behavior change, that was preventing... X-Git-Url: https://git.novaco.in/?p=stratum-mining.git;a=commitdiff_plain;h=d0952863d10f364b17cb6efd6f8044431bfa2ce1 Fix NovaCoin 0.4.4.7b5 getblocktemplate default behavior change, that was preventing stratum-mining from starting. --- 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