Skip to content

Commit

Permalink
test: improve chain event tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Aug 10, 2021
1 parent bd24441 commit e0ffe9f
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 182 deletions.
2 changes: 1 addition & 1 deletion chain/events/events_called.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ type StateMatchFunc func(oldTs, newTs *types.TipSet) (bool, StateChange, error)
// * `StateChangeHandler` is called when the specified state change was observed
// on-chain, and a confidence threshold was reached, or the specified `timeout`
// height was reached with no state change observed. When this callback is
// invoked on a timeout, `oldState` and `newState` are set to nil.
// invoked on a timeout, `oldTs` and `states are set to nil.
// This callback returns a boolean specifying whether further notifications
// should be sent, like `more` return param from `CheckFunc` above.
//
Expand Down
Loading

0 comments on commit e0ffe9f

Please sign in to comment.