Skip to content

Comments

Remove require from non main go-routine#61

Merged
mslipper merged 1 commit intooptimismfrom
jg/p2p_error_handling
Nov 8, 2022
Merged

Remove require from non main go-routine#61
mslipper merged 1 commit intooptimismfrom
jg/p2p_error_handling

Conversation

@trianglesphere
Copy link

Description

A failure in a require statement calls t.FailNow which was occuring from the non main go-routine. This is not a correct usage of require.

Note: We may need to apply a similar fix in a lot more areas.

A failure in a `require` statement calls `t.FailNow` which was occuring
from the non main go-routine. This is not a correct usage of `require`.
@mslipper mslipper merged commit ba6cbca into optimism Nov 8, 2022
@trianglesphere trianglesphere deleted the jg/p2p_error_handling branch November 10, 2022 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants