From 16b0a00f506bf4aa8e03baedf155b1b2d61e6e71 Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Wed, 17 Apr 2024 09:47:41 -0400 Subject: [PATCH] auction: fix spurious warning --- crates/core/component/auction/src/component/dutch_auction.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/core/component/auction/src/component/dutch_auction.rs b/crates/core/component/auction/src/component/dutch_auction.rs index bbae427abc..9474a71e76 100644 --- a/crates/core/component/auction/src/component/dutch_auction.rs +++ b/crates/core/component/auction/src/component/dutch_auction.rs @@ -239,6 +239,7 @@ trait Inner: StateWrite { impl Inner for T {} +#[allow(unused)] // Spurious warning that this is not used. struct TriggerData { pub start_height: u64, pub end_height: u64,