clippy fixes

This commit is contained in:
Luke Parker
2023-10-19 06:30:58 -04:00
parent 43841f95fc
commit a1b2bdf0a2
7 changed files with 38 additions and 17 deletions

View File

@@ -209,7 +209,7 @@ async fn handle_batch_and_burns<D: Db, Pro: Processors>(
}
for burn in serai.coins().burn_events().await? {
if let CoinsEvent::Burn { address: _, instruction } = burn {
if let CoinsEvent::Burn { from: _, instruction } = burn {
let network = instruction.balance.coin.network();
network_had_event(&mut burns, &mut batches, network);