From 99ca41047f8f7ddfd16c955fc340ebf969a641d4 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 12 Sep 2023 11:00:49 +0200 Subject: [PATCH] immut over mut ref on validate --- crates/ibc/src/core/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ibc/src/core/handler.rs b/crates/ibc/src/core/handler.rs index 5ddebcf97..784495e2f 100644 --- a/crates/ibc/src/core/handler.rs +++ b/crates/ibc/src/core/handler.rs @@ -53,7 +53,7 @@ pub fn dispatch( /// `dispatch()` on each successively. pub fn validate( ctx: &Ctx, - router: &mut impl Router, + router: &impl Router, msg: MsgEnvelope, ) -> Result<(), RouterError> where