complying with clippy from the github CI
This commit is contained in:
parent
27890cfcff
commit
759f6eac43
@ -321,10 +321,7 @@ impl<D: Database, Cs: CoinSelectionAlgorithm<D>> TxBuilder<D, Cs> {
|
|||||||
if self.fee_policy.is_none() {
|
if self.fee_policy.is_none() {
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
match self.fee_policy.as_ref().unwrap() {
|
matches!(self.fee_policy.as_ref().unwrap(), FeePolicy::FeeAmount(_))
|
||||||
FeePolicy::FeeAmount(_) => true,
|
|
||||||
_ => false,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user