diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-31 20:28:28 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-04-01 11:47:10 -0700 |
commit | 6b04508e37c5dd18cec1cd61cc4356bd208aa991 (patch) | |
tree | e3a5ac58ed8e891e55638af98db9b33257db57f3 /qa/rpc-tests/getblocktemplate_proposals.py | |
parent | 0df67f1f7ab4adfe9f0b3ba6276e737b37826464 (diff) |
Introduce separate 'generate' RPC call
Diffstat (limited to 'qa/rpc-tests/getblocktemplate_proposals.py')
-rwxr-xr-x | qa/rpc-tests/getblocktemplate_proposals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/getblocktemplate_proposals.py b/qa/rpc-tests/getblocktemplate_proposals.py index f65162002d..a63f456d6b 100755 --- a/qa/rpc-tests/getblocktemplate_proposals.py +++ b/qa/rpc-tests/getblocktemplate_proposals.py @@ -95,7 +95,7 @@ class GetBlockTemplateProposalTest(BitcoinTestFramework): def run_test(self): node = self.nodes[0] - node.setgenerate(True, 1) # Mine a block to leave initial block download + node.generate(1) # Mine a block to leave initial block download tmpl = node.getblocktemplate() if 'coinbasetxn' not in tmpl: rawcoinbase = encodeUNum(tmpl['height']) |