swarm/api: Fix linter

This commit is contained in:
Balint Gabor 2018-04-06 16:21:54 +02:00
parent 3e304ce36c
commit 221188af08

View file

@ -39,7 +39,6 @@ import (
"github.com/ethereum/go-ethereum/swarm/storage" "github.com/ethereum/go-ethereum/swarm/storage"
) )
// TODO: this is bad, it should not be hardcoded how long is a hash // TODO: this is bad, it should not be hardcoded how long is a hash
var hashMatcher = regexp.MustCompile("^([0-9A-Fa-f]{64})([0-9A-Fa-f]{64})?") var hashMatcher = regexp.MustCompile("^([0-9A-Fa-f]{64})([0-9A-Fa-f]{64})?")