We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Wparentheses
1 parent 6d8707b commit d68ca4eCopy full SHA for d68ca4e
src/test/fuzz/txorphan.cpp
@@ -113,7 +113,7 @@ FUZZ_TARGET_INIT(txorphan, initialize_orphanage)
113
LOCK(g_cs_orphans);
114
bool add_tx = orphanage.AddTx(tx, peer_id);
115
// if have_tx is still false, it must be too big
116
- Assert(!have_tx == GetTransactionWeight(*tx) > MAX_STANDARD_TX_WEIGHT);
+ Assert(!have_tx == (GetTransactionWeight(*tx) > MAX_STANDARD_TX_WEIGHT));
117
Assert(!have_tx || !add_tx);
118
}
119
},
0 commit comments