From db22580dead7d2cde1356a3aebad1f842490b8b9 Mon Sep 17 00:00:00 2001 From: girazoki Date: Mon, 11 Mar 2024 14:16:21 +0100 Subject: [PATCH] move integrity tests feature of insecure-ed-zero --- substrate/frame/balances/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/balances/src/lib.rs b/substrate/frame/balances/src/lib.rs index e87aa6f9311e..9a073ba61ddb 100644 --- a/substrate/frame/balances/src/lib.rs +++ b/substrate/frame/balances/src/lib.rs @@ -547,8 +547,8 @@ pub mod pallet { #[pallet::hooks] impl, I: 'static> Hooks> for Pallet { - #[cfg(not(feature = "insecure_zero_ed"))] fn integrity_test() { + #[cfg(not(feature = "insecure_zero_ed"))] assert!( !>::ExistentialDeposit::get().is_zero(), "The existential deposit must be greater than zero!"