-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rpcClient.Address() race condition #1607
Conversation
👷 Deploy Preview for nitrodocs processing.
|
✅ Deploy Preview for nitro-gui canceled.
|
✅ Deploy Preview for nitro-storybook canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done!
@@ -178,7 +178,7 @@ func main() { | |||
|
|||
logging.SetupDefaultLogger(os.Stdout, slog.LevelDebug) | |||
|
|||
node, _, _, _, err := node.InitializeNode(pkString, chainOpts, useDurableStore, durableStoreFolder, msgPort, os.Stdout, peerSlice) | |||
node, _, _, _, err := node.InitializeNode(pkString, chainOpts, useDurableStore, durableStoreFolder, msgPort, peerSlice) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking, but it seems like this change is unrelated to the race condition. Is that correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it is unrelated to the race condition. Just something I noticed when scanning through the code. Its related to the PR that was merged this morning
Fix
rpcClient.Address()
race condition that caused a CI failure when changes were merged intomain
: https://github.com/statechannels/go-nitro/actions/runs/6012869180/job/16309076480