Currently the SignTransaction
function has to handle both the actual signing and parsing of previous transaction data. This PR splits it so that SignTransaction
only handles the signing itself and adds a ParsePrevouts
function which handles parsing the prevtx information.
This allows for SignTransaction
to just take any SigningProvider
.
Split from #16341