aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mining_basic.py
diff options
context:
space:
mode:
authorJon Layton <me@jonl.io>2018-11-13 13:42:36 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-11-13 14:24:40 -0500
commitfa0815c3005c861ba94b96412e7997c25e7f6788 (patch)
tree2208715a790996a7427ee730b1b60fed3d6c69a3 /test/functional/mining_basic.py
parentc651265c934c84c683aa054f2a456b12acc41590 (diff)
rpc: Correctly name arguments
Diffstat (limited to 'test/functional/mining_basic.py')
-rwxr-xr-xtest/functional/mining_basic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/mining_basic.py b/test/functional/mining_basic.py
index ff55ea5528..9f01be0646 100755
--- a/test/functional/mining_basic.py
+++ b/test/functional/mining_basic.py
@@ -30,9 +30,10 @@ from test_framework.util import (
def assert_template(node, block, expect, rehash=True):
if rehash:
block.hashMerkleRoot = block.calc_merkle_root()
- rsp = node.getblocktemplate({'data': b2x(block.serialize()), 'mode': 'proposal'})
+ rsp = node.getblocktemplate(template_request={'data': b2x(block.serialize()), 'mode': 'proposal'})
assert_equal(rsp, expect)
+
class MiningTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 2