mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 20:22:02 +00:00
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
This commit is contained in:
@@ -257,9 +257,9 @@ pub mod deposit_methods {
|
||||
Latest,
|
||||
}
|
||||
|
||||
impl Into<u64> for Eth1Id {
|
||||
fn into(self) -> u64 {
|
||||
match self {
|
||||
impl From<Eth1Id> for u64 {
|
||||
fn from(from: Eth1Id) -> u64 {
|
||||
match from {
|
||||
Eth1Id::Mainnet => 1,
|
||||
Eth1Id::Custom(id) => id,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user