Page MenuHomePhabricator

[qt] Remove assignment in if statement
ClosedPublic

Authored by Fabien on Oct 4 2023, 08:40.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC60349c31247a: [qt] Remove assignment in if statement
Summary

This serves 2 purposes:

  1. It is much more readable
  2. It works around a discrepancy between clang-format 12.0.0 and 12.0.1

There is no change in behavior.

Test Plan
ninja check-bitcoin-qt

Send a tx to check the modals work as intended

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable