Skip to content

Commit

Permalink
Update crates/chainio/clients/elcontracts/src/reader.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodeymo authored Sep 20, 2024
1 parent 06433af commit 1c83433
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/chainio/clients/elcontracts/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ impl ELChainReader {
_0: operator_details,
} = operator_det;

Ok(Operator::new(
operator,
operator_details.earningsReceiver,
operator_details.delegationApprover,
operator_details.stakerOptOutWindowBlocks,
None,
))
Ok(Operator {
address: operator,
earnings_receiver_address: operator_details.earningsReceiver,
delegation_approver_address: operator_details.delegationApprover,
staker_opt_out_window_blocks: operator_details.stakerOptOutWindowBlocks,
metadata_url: None,
})
}

pub async fn is_operator_registered(
Expand Down

0 comments on commit 1c83433

Please sign in to comment.