Review report

bitcoin/bitcoin: PR #36704

1 suggestion

Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · signWithExternalSigner labels output-only parameters as inputs

The newly enabled Doxygen block labels mtx and complete as [in,out], although the implementation does not consume their incoming values.

Location: src/qt/sendcoinsdialog.h:89 (head).

Details and suggested fix

complete passes through fillPSBT to CWallet::FillPSBT, which initializes it before using &=. signWithExternalSigner then replaces it with the finalization result. Likewise, FinalizeAndExtractPSBT assigns the entire mtx before accessing its fields. Early failures can leave these values unchanged, but neither is an input to the operation. Use @param[out] for both, retaining [in,out] for psbt, and describe mtx as the finalized transaction, if complete. This corrects the generated documentation without changing behavior.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.