Browse Source

Merge pull request #5756

1cb2a00 Fix getblocktemplate_proposals test by mining one block (Suhas Daftuar)
pull/145/head
Wladimir J. van der Laan 10 years ago
parent
commit
5d901d8ece
No known key found for this signature in database GPG Key ID: 74810B012346C9A6
  1. 1
      qa/rpc-tests/getblocktemplate_proposals.py

1
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'])

Loading…
Cancel
Save