diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-02-05 16:01:56 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-02-05 16:02:01 +0100 |
| commit | 5d901d8ece9aa29dc1dcacc3f10f24321288b548 (patch) | |
| tree | 71545511a2e449d532cb655d3eb3df7bdeb4d542 | |
| parent | Merge pull request #5754 (diff) | |
| parent | Fix getblocktemplate_proposals test by mining one block (diff) | |
| download | discoin-5d901d8ece9aa29dc1dcacc3f10f24321288b548.tar.xz discoin-5d901d8ece9aa29dc1dcacc3f10f24321288b548.zip | |
Merge pull request #5756
1cb2a00 Fix getblocktemplate_proposals test by mining one block (Suhas Daftuar)
| -rwxr-xr-x | qa/rpc-tests/getblocktemplate_proposals.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/rpc-tests/getblocktemplate_proposals.py b/qa/rpc-tests/getblocktemplate_proposals.py index 22fe2ce04..f65162002 100755 --- a/qa/rpc-tests/getblocktemplate_proposals.py +++ b/qa/rpc-tests/getblocktemplate_proposals.py @@ -95,6 +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 tmpl = node.getblocktemplate() if 'coinbasetxn' not in tmpl: rawcoinbase = encodeUNum(tmpl['height']) |