git://git.novaco.in
/
stratum-mining.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d58b87a
)
Fix NovaCoin 0.4.4.7b5 getblocktemplate default behavior change, that was preventing...
2/head
author
kha0S
<miguel@khore.org>
Mon, 30 Jun 2014 16:03:47 +0000 (17:03 +0100)
committer
kha0S
<miguel@khore.org>
Mon, 30 Jun 2014 16:03:47 +0000 (17:03 +0100)
lib/bitcoin_rpc.py
patch
|
blob
|
history
diff --git
a/lib/bitcoin_rpc.py
b/lib/bitcoin_rpc.py
index
e417fc7
..
cfae41f
100644
(file)
--- 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