mirror of https://github.com/ethereum/go-ethereum
p2p/discover: swap verification order in discv4 ping handler (#27532)
In all other UDPv4 methods, the deadline is checked first. It seems weird to me that ping is an exception. Deadline comparison is also less resource intensive. Co-authored-by: Exca-DK <Exca-DK@users.noreply.github.com>pull/27541/head
parent
fd5d2ef0a6
commit
5520cd97a1
Loading…
Reference in new issue