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.
Showing
Please register or sign in to comment
dialPubkey isn't used anywhere else after dialDest.Load, so it should be safe to restrict its scope to the if clause.