mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-31 08:13:52 +02:00
Replace PSBT::GetInputUTXO with PSBTInput::GetUTXO
Now that PSBTInput's track their own prevouts, there's no need for a PSBT global function to fetch input specific data.
This commit is contained in:
@@ -68,9 +68,9 @@ FUZZ_TARGET(psbt)
|
||||
(void)output.IsNull();
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < psbt.inputs.size(); ++i) {
|
||||
for (const PSBTInput& input : psbt.inputs) {
|
||||
CTxOut tx_out;
|
||||
if (psbt.GetInputUTXO(tx_out, i)) {
|
||||
if (input.GetUTXO(tx_out)) {
|
||||
(void)tx_out.IsNull();
|
||||
(void)tx_out.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user