The param coins to SignTransaction is final and can thus not be extended (as suggested by the doc).
This was changed in [[https://github.com/bitcoin/bitcoin/pull/16798 | PR16798]] where ParsePrevouts was extracted from SignTransaction.
This is a backport of Core [[https://github.com/bitcoin/bitcoin/pull/16900 | PR16900]]