We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e57272 + 26cb989 commit 68bdf3eCopy full SHA for 68bdf3e
payjoin/src/receive/v2/mod.rs
@@ -405,7 +405,7 @@ impl WantsOutputs {
405
/// receiver needs to pay for additional miner fees (e.g. in the case of adding many outputs).
406
pub fn replace_receiver_outputs(
407
self,
408
- replacement_outputs: impl Iterator<Item = TxOut>,
+ replacement_outputs: impl IntoIterator<Item = TxOut>,
409
drain_script: &Script,
410
) -> Result<Self, OutputSubstitutionError> {
411
let inner = self.v1.replace_receiver_outputs(replacement_outputs, drain_script)?;
0 commit comments