Review report

core: PR #36224

💡 Suggestion

Test merging ordinary modifiable bits (src/test/psbt_tests.cpp:390, head)

Every asserted merge in this test has at least one m_tx_modifiable value without the bit. The only case where both values include a bit is in the fallback-locktime test, which does not check the resulting flags. As a result, Merge() could clear ordinary bits and still pass these assertions, leaving inputs or outputs non-modifiable even when both PSBTs permit changes. Add a case that asserts a shared ordinary bit survives and, ideally, a differing ordinary bit clears, while checking bit 2's separate OR behavior.

Review coverage was incomplete. The adversarial_glm review did not complete.