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.
1 parent bffabfd commit 93e8698Copy full SHA for 93e8698
src/wallet.rs
@@ -126,15 +126,6 @@ where
126
}
127
};
128
129
- // We double-check that no inputs try to spend non-witness outputs. As we use a SegWit
130
- // wallet descriptor this technically shouldn't ever happen, but better safe than sorry.
131
- for input in &psbt.inputs {
132
- if input.witness_utxo.is_none() {
133
- log_error!(self.logger, "Tried to spend a non-witness funding output. This must not ever happen. Panicking!");
134
- panic!("Tried to spend a non-witness funding output. This must not ever happen.");
135
- }
136
137
-
138
if !locked_wallet.sign(&mut psbt, SignOptions::default())? {
139
return Err(Error::FundingTxCreationFailed);
140
0 commit comments