From e7245a3088f8a281bc8b15e2e4b8b8d2407ba438 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Wed, 15 Jan 2025 09:22:57 +0100 Subject: [PATCH] Fix reversed error message in weight-reclaim --- substrate/frame/support/src/dispatch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/support/src/dispatch.rs b/substrate/frame/support/src/dispatch.rs index 990996830030..a9795d47dbf1 100644 --- a/substrate/frame/support/src/dispatch.rs +++ b/substrate/frame/support/src/dispatch.rs @@ -317,8 +317,8 @@ impl PostDispatchInfo { Greater post dispatch weight components are ignored. Pre dispatch weight: {:?}, Post dispatch weight: {:?}", - actual_weight, info_total_weight, + actual_weight, ); } actual_weight.min(info.total_weight())