diff --git a/examples/subscriptions/examples/subscribe_events_by_type.rs b/examples/subscriptions/examples/subscribe_events_by_type.rs index 355404a330..8f935c0b18 100644 --- a/examples/subscriptions/examples/subscribe_events_by_type.rs +++ b/examples/subscriptions/examples/subscribe_events_by_type.rs @@ -26,7 +26,7 @@ async fn main() -> Result<(), Box> { // Build an Event by type. We are not tied to a contract instance. We use builder functions to // refine the event filter - let event = Contract::event_of_type::(&client) + let event = Contract::event_of_type::(client) .from_block(16022082) .address(ValueOrArray::Array(vec![ PRICE_FEED_1.parse()?,