Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
fix: example updated to use new event
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich committed Feb 13, 2023
1 parent 002c17a commit e7cb117
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async fn main() -> Result<(), Box<dyn Error>> {

// 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::<AnswerUpdatedFilter>(&client)
let event = Contract::event_of_type::<AnswerUpdatedFilter>(client)
.from_block(16022082)
.address(ValueOrArray::Array(vec![
PRICE_FEED_1.parse()?,
Expand Down

0 comments on commit e7cb117

Please sign in to comment.