diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-07-19 10:46:10 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-07-19 10:46:10 +0100 |
commit | d68ca4ef64405d0d7c628a71d0f2bbae68e63cda (patch) | |
tree | 9446c07762b04152b749aea47aa1ebbc24f4deb6 /src/test | |
parent | 6d8707b21d3a5b4abb76b773a69f2bfac22bcd93 (diff) | |
download | bitcoin-d68ca4ef64405d0d7c628a71d0f2bbae68e63cda.tar.xz |
Fix `-Wparentheses` gcc warning
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/txorphan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/txorphan.cpp b/src/test/fuzz/txorphan.cpp index b18d783259..cc20f89bbf 100644 --- a/src/test/fuzz/txorphan.cpp +++ b/src/test/fuzz/txorphan.cpp @@ -113,7 +113,7 @@ FUZZ_TARGET_INIT(txorphan, initialize_orphanage) LOCK(g_cs_orphans); bool add_tx = orphanage.AddTx(tx, peer_id); // if have_tx is still false, it must be too big - Assert(!have_tx == GetTransactionWeight(*tx) > MAX_STANDARD_TX_WEIGHT); + Assert(!have_tx == (GetTransactionWeight(*tx) > MAX_STANDARD_TX_WEIGHT)); Assert(!have_tx || !add_tx); } }, |