mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 22:38:34 +00:00
Updated to comply with new clippy formatting rules (#2336)
## Issue Addressed The latest version of Rust has new clippy rules & the codebase isn't up to date with them. ## Proposed Changes Small formatting changes that clippy tells me are functionally equivalent
This commit is contained in:
@@ -104,7 +104,7 @@ impl DepositContract {
|
||||
})?;
|
||||
Contract::from_json(web3.clone().eth(), address, ABI)
|
||||
.map_err(|e| format!("Failed to init contract: {:?}", e))
|
||||
.map(move |contract| Self { contract, web3 })
|
||||
.map(move |contract| Self { web3, contract })
|
||||
}
|
||||
|
||||
/// The deposit contract's address in `0x00ab...` format.
|
||||
|
||||
Reference in New Issue
Block a user