Parallell.PutValue
fails if one router fails but all other succeed
#55
Labels
kind/bug
A bug in existing code (including security flaws)
We can see here:
go-libp2p-routing-helpers/parallel.go
Lines 329 to 331 in 506670d
that the
Parallell.PutValue
only fails if none of the routers were able to set the value.But the logic is wrong here:
go-libp2p-routing-helpers/parallel.go
Lines 133 to 161 in 506670d
success
is only checked if there are no errors, makingPutValue
fails even if just one router fails.The text was updated successfully, but these errors were encountered: