Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: linning <[email protected]>
  • Loading branch information
NingLin-P committed Aug 29, 2023
1 parent 5e8f84f commit cf9744f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions domains/client/domain-operator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
))
})?;

Expand Down

0 comments on commit cf9744f

Please sign in to comment.