From c74a205ecfe918d84a9b7af6cfc6bfad9a06c278 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 14 Oct 2020 11:30:54 +1000 Subject: [PATCH] Reword error message Co-authored-by: Jane Lusby --- zebra-consensus/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-consensus/src/error.rs b/zebra-consensus/src/error.rs index 25a32adb..0df0b96c 100644 --- a/zebra-consensus/src/error.rs +++ b/zebra-consensus/src/error.rs @@ -53,7 +53,7 @@ pub enum BlockError { #[error("invalid difficulty threshold in block header {0:?} {1:?}")] InvalidDifficulty(zebra_chain::block::Height, zebra_chain::block::Hash), - #[error("block {0:?} failed the difficulty limit: the difficulty threshold {2:?} must be at least as difficult as the {3:?} difficulty limit {4:?}, block hash {1:?}")] + #[error("block {0:?} has difficulty threshold {2:?} that is below the {3:?} difficulty limit {4:?}")] TargetDifficultyLimit( zebra_chain::block::Height, zebra_chain::block::Hash,