From e1dde04eb27cc22c5b2b5ad9c8cbf6816cdbabf5 Mon Sep 17 00:00:00 2001 From: nolash Date: Tue, 3 Jan 2017 22:44:38 +0100 Subject: [PATCH] swarm: processed with gofmt References nolash/go-ethereum@2ec3fd7d00cea5e4bd9079bb95d086c1d390c719 --- swarm/api/api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swarm/api/api.go b/swarm/api/api.go index 63de449b08..76754ecb63 100644 --- a/swarm/api/api.go +++ b/swarm/api/api.go @@ -19,10 +19,10 @@ package api import ( "fmt" "io" + "net/http" "regexp" "strings" "sync" - "net/http" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/logger" @@ -156,9 +156,9 @@ func (self *Api) Get(uri string, nameresolver bool) (reader storage.LazySectionR } glog.V(logger.Detail).Infof("getEntry(%s)", path) - + entry, _ := trie.getEntry(path) - + if entry != nil { key = common.Hex2Bytes(entry.Hash) status = entry.Status