HomePhabricator

Fix mistakenly swapped lock orders in logging

Description

Fix mistakenly swapped lock orders in logging

Summary:

This PR:

  • fixes printed lock orders
  • improves the sync_tests unit test
  • makes the "detected inconsistent lock order" error message pointing to the lock location rather tfm::format() location.

This is a backport of core#19353

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Jun 22 2020, 15:12
PiRKCommitted on Jul 2 2021, 15:27
PiRKPushed on Jul 2 2021, 15:27
Reviewer
Restricted Project
Differential Revision
D9731: Fix mistakenly swapped lock orders in logging
Parents
rABC51479e07b8e5: Fix dead link to Schnorr spec
Branches
Unknown
Tags
Unknown