diff --git a/swarm/api/api.go b/swarm/api/api.go index 07c29a29d2..c7cb9c0662 100644 --- a/swarm/api/api.go +++ b/swarm/api/api.go @@ -39,7 +39,6 @@ import ( "github.com/ethereum/go-ethereum/swarm/storage" ) - // 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})?")