From db5d83a609e39e924d038d2714c450519207c80d Mon Sep 17 00:00:00 2001 From: Thomas Modeneis Date: Tue, 10 Apr 2018 13:02:49 +0200 Subject: [PATCH] build: remove vendorcheck --- Makefile | 2 +- core/tx_pool.go | 1 - p2p/discv5/net.go | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2c69839fea..5cb9231a18 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ ios: test: all build/env.sh go run build/ci.go test -lint: ## Run linters. Use make install-linters first. +lint: ## Run linters. build/env.sh go run build/ci.go lint clean: diff --git a/core/tx_pool.go b/core/tx_pool.go index 6886326cc0..b074b3b8fc 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -38,7 +38,6 @@ import ( const ( // chainHeadChanSize is the size of channel listening to ChainHeadEvent. chainHeadChanSize = 10 - // rmTxChanSize is the size of channel listening to RemovedTransactionEvent. ) var ( diff --git a/p2p/discv5/net.go b/p2p/discv5/net.go index f56e0d3201..9b0bd0c80a 100644 --- a/p2p/discv5/net.go +++ b/p2p/discv5/net.go @@ -830,7 +830,7 @@ const ( // Packet type events. // These correspond to packet types in the UDP protocol. - pingPacket = iota + pingPacket = iota + 1 pongPacket findnodePacket neighborsPacket