Skip to content

Commit d51ca2f

Browse files
Explicit the rpc_url type to make it clonable
1 parent bdacfc6 commit d51ca2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • aggregation_mode/src/backend

aggregation_mode/src/backend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub struct ProofAggregator {
5353

5454
impl ProofAggregator {
5555
pub fn new(config: Config) -> Self {
56-
let rpc_url = config.eth_rpc_url.parse().expect("RPC URL should be valid");
56+
let rpc_url: reqwest::Url = config.eth_rpc_url.parse().expect("RPC URL should be valid");
5757
let signer = LocalSigner::decrypt_keystore(
5858
config.ecdsa.private_key_store_path.clone(),
5959
config.ecdsa.private_key_store_password.clone(),

0 commit comments

Comments
 (0)