From 83caa8b4137a96edc151d4a8fc19a4d2c1abfd42 Mon Sep 17 00:00:00 2001 From: Luke Parker <lukeparker5132@gmail.com> Date: Wed, 2 Nov 2022 05:03:00 -0400 Subject: [PATCH] Add a _ to the validator arg in slash --- substrate/tendermint/client/src/authority/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/tendermint/client/src/authority/mod.rs b/substrate/tendermint/client/src/authority/mod.rs index 1f176876..c87c8394 100644 --- a/substrate/tendermint/client/src/authority/mod.rs +++ b/substrate/tendermint/client/src/authority/mod.rs @@ -263,7 +263,7 @@ impl<T: TendermintValidator> Network for TendermintAuthority<T> { self.active.as_mut().unwrap().gossip_queue.write().unwrap().push(msg); } - async fn slash(&mut self, validator: u16) { + async fn slash(&mut self, _validator: u16) { todo!() }