forked from mirror/go-ethereum
p2p: reduce the scope of variable dialPubkey (#24385)
dialPubkey isn't used anywhere else after dialDest.Load, so it should be safe to restrict its scope to the if clause.release/1.10
parent
51e7968b8b
commit
6c3513c077
Loading…
Reference in new issue