HomePhabricator

tests: simplify next_block() function in feature_block

Description

tests: simplify next_block() function in feature_block

Summary:
The solve parameter is unnecessary. Remove it and add
comments.

This is a backport of Core PR18366
Depends on D8846

Test Plan: ninja && test/functional/test_runner.py feature_block

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8847

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Mar 17 2020, 13:45
PiRKCommitted on Jan 8 2021, 18:41
PiRKPushed on Jan 8 2021, 18:41
Reviewer
Restricted Project
Differential Revision
D8847: tests: simplify next_block() function in feature_block
Parents
rABCffcbbd7f4844: Fix mining to an invalid target + ensure that a new block has the correct hash…
Branches
Unknown
Tags
Unknown