decred / dcrd

Decred daemon in Go (golang).
https://decred.org
ISC License
731 stars 288 forks source link

server: Remove dup min protocol version check. #3335

Closed davecgh closed 3 months ago

davecgh commented 3 months ago

Previously, outbound peers were required to have a newer minimum protocol version than inbound peers, so two different checks were needed to differentiate.

However, now that both inbound and outbound peers are required to have the same minimum version, there is no longer any need to have both checks for the same thing.

Thus, this removes the additional check that is no longer needed.