mev-boost-relay
mev-boost-relay copied to clipboard
Avoid race condition on conditional variable
cannot assume that the if condition is true when Wait returns. always best to check in a while loop to avoid race condition.
I think you would also need to read the counter again to get the updated value
Oh yes, that's right.