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() {
|
||||
return false;
|
||||
};
|
||||
match self.fee_policy.as_ref().unwrap() {
|
||||
FeePolicy::FeeAmount(_) => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(self.fee_policy.as_ref().unwrap(), FeePolicy::FeeAmount(_))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user