Clear clippy manual_map warning

The lint `manual_map` is new so we cannot explicitly allow it and
maintain backwards comparability. Instead, allow all lints for
`get_utxo_for` with a comment explaining why.
This commit is contained in:
Tobin Harding 2021-05-11 10:47:18 +10:00
parent de40351710
commit 7f06dc3330
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607

View File

@ -17,6 +17,7 @@ pub trait PsbtUtils {
}
impl PsbtUtils for Psbt {
#[allow(clippy::all)] // We want to allow `manual_map` but it is too new.
fn get_utxo_for(&self, input_index: usize) -> Option<TxOut> {
let tx = &self.global.unsigned_tx;