From cf9744f84f095675859531ad7dd363a3ebc01d62 Mon Sep 17 00:00:00 2001 From: linning Date: Mon, 28 Aug 2023 18:44:19 +0800 Subject: [PATCH] Apply review suggestion Signed-off-by: linning --- domains/client/domain-operator/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/domains/client/domain-operator/src/lib.rs b/domains/client/domain-operator/src/lib.rs index dc29585a849..42032858f66 100644 --- a/domains/client/domain-operator/src/lib.rs +++ b/domains/client/domain-operator/src/lib.rs @@ -263,8 +263,7 @@ where .convert_first(DigestItem::as_consensus_block_info) .ok_or_else(|| { sp_blockchain::Error::Application(Box::from( - "Domain block header {domain_hash}#{domain_number} missing the consensus \ - block info predigest, this should not happen", + "Domain block header {domain_hash}#{domain_number} must have consensus block info predigest" )) })?;