From c9b99d8dcd29c5b834c1381791745db385c81d88 Mon Sep 17 00:00:00 2001 From: Harshad Patil Date: Thu, 12 Oct 2023 22:53:21 -0700 Subject: [PATCH] fix lint --- src/ledger/src/store/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ledger/src/store/mod.rs b/src/ledger/src/store/mod.rs index 696352dc5..62fc5874c 100644 --- a/src/ledger/src/store/mod.rs +++ b/src/ledger/src/store/mod.rs @@ -1730,6 +1730,7 @@ impl LedgerStatus { // // This drains every field of `block` except `txns` and `temp_sids`. #[allow(unused_mut)] + #[allow(clippy::unwrap_or_default)] fn apply_block_effects(&mut self, block: &mut BlockEffect) -> (TmpSidMap, u64, u64) { let base_sid = self.next_txo.0; let handle_asset_type_code = |code: AssetTypeCode| {