Skip to content

Commit d68ca4e

Browse files
committed
Fix -Wparentheses gcc warning
1 parent 6d8707b commit d68ca4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fuzz/txorphan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ FUZZ_TARGET_INIT(txorphan, initialize_orphanage)
113113
LOCK(g_cs_orphans);
114114
bool add_tx = orphanage.AddTx(tx, peer_id);
115115
// if have_tx is still false, it must be too big
116-
Assert(!have_tx == GetTransactionWeight(*tx) > MAX_STANDARD_TX_WEIGHT);
116+
Assert(!have_tx == (GetTransactionWeight(*tx) > MAX_STANDARD_TX_WEIGHT));
117117
Assert(!have_tx || !add_tx);
118118
}
119119
},

0 commit comments

Comments
 (0)