Skip to content

Commit

Permalink
Clippy and QoL improvement (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul authored Feb 24, 2025
1 parent 0a9b667 commit ceb2c63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/multiplexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ impl<E: EthSpec> Multiplexer<E> {
bellatrix_fork_epoch = ?spec.bellatrix_fork_epoch,
capella_fork_epoch = ?spec.capella_fork_epoch,
deneb_fork_epoch = ?spec.deneb_fork_epoch,
electra_fork_epoch = ?spec.electra_fork_epoch,
"fork schedule"
);
let genesis_state_timeout = Duration::from_secs(180);
Expand Down
2 changes: 1 addition & 1 deletion src/payload_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl<E: EthSpec> Multiplexer<E> {
}
// TODO: Fulu
ForkName::Fulu => {
return Err(format!("Fulu not supported"));
return Err("Fulu not supported".to_string());
}
ForkName::Base | ForkName::Altair => return Err(format!("invalid fork: {fork_name}")),
};
Expand Down

0 comments on commit ceb2c63

Please sign in to comment.