From b89114d6abd140dcd1fbf6e4e64fcba508a9f59c Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Thu, 17 Dec 2020 14:14:19 -0500 Subject: Address comments --- .ci/lint.sh | 2 +- .golangci.yml | 2 -- plugin/evm/vm.go | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/lint.sh b/.ci/lint.sh index cde7292..e2ee0ce 100755 --- a/.ci/lint.sh +++ b/.ci/lint.sh @@ -9,4 +9,4 @@ export PATH=$PATH:$(go env GOPATH)/bin golangci-lint --version -golangci-lint run --max-same-issues 0 \ No newline at end of file +golangci-lint run --max-same-issues 0 diff --git a/.golangci.yml b/.golangci.yml index 18b325e..d2a5e38 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,9 +19,7 @@ linters: - govet - ineffassign - misspell - # - staticcheck - unconvert - # - unused - varcheck linters-settings: diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index c9bdad9..1caa9e9 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -739,7 +739,7 @@ func (vm *VM) writeBackMetadata() { // awaitTxPoolStabilized waits for a txPoolHead channel event // and notifies the VM when the tx pool has stabilized to the // expected block hash -// Waits for signal to shutdown from txPoolStabilizedShutdownChan chan +// Waits for signal to shutdown from [vm.shutdownChan] func (vm *VM) awaitTxPoolStabilized() { defer vm.shutdownWg.Done() for { -- cgit v1.2.3