This fix a bug raised on CI (Teamcity #3004).
Analyzing the log shown that delay_node.getbestblockhash() was called
before its tip has been updated to alt_node_new_tip, which occured 3ms
later. Waiting for the tip to settle should avoid the issue.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGc5f785875297: Fix getbestblockhash() called before the tip reaches the expected block
rABCc5f785875297: Fix getbestblockhash() called before the tip reaches the expected block
./test/functional/test_runner.py abc-finalize-block
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- finalize_block_delay_node_fix
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 4360 Build 6785: Bitcoin ABC Buildbot (legacy) Build 6784: arc lint + arc unit