Skip to content

Commit

Permalink
Fixed Error Message
Browse files Browse the repository at this point in the history
  • Loading branch information
ethDreamer committed Sep 27, 2021
1 parent 6aa61b6 commit 1129108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_node/network/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ impl<T: BeaconChainTypes> NetworkService<T> {
let next_fork_context_bytes =
fork_context.to_context_bytes(next_fork).unwrap_or_else(|| {
panic!(
"{} fork bytes should exist as it's initialized in ForkContext",
next_fork
"context bytes should exist as spec.next_fork_epoch({}) returned Some({})",
next_fork, current_slot
)
});
result.push(next_fork_context_bytes);
Expand Down

0 comments on commit 1129108

Please sign in to comment.