aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/manifest.go
diff options
context:
space:
mode:
authorJavier Peletier <jm@epiclabs.io>2018-10-03 15:15:17 +0800
committerJavier Peletier <jm@epiclabs.io>2018-10-03 15:15:28 +0800
commitde01178c18766b9f744acc94fe2b96804f998e40 (patch)
treeb572a263ff660bd5ded343a5253f86f1f1145e46 /swarm/api/manifest.go
parent696bc9b01ce0ed3347fa1bd64460ccc08091e90a (diff)
downloaddexon-de01178c18766b9f744acc94fe2b96804f998e40.tar.gz
dexon-de01178c18766b9f744acc94fe2b96804f998e40.tar.zst
dexon-de01178c18766b9f744acc94fe2b96804f998e40.zip
swarm/storage/feed: Renamed package
Diffstat (limited to 'swarm/api/manifest.go')
-rw-r--r--swarm/api/manifest.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/swarm/api/manifest.go b/swarm/api/manifest.go
index e45ae85c4..7c4cc88e4 100644
--- a/swarm/api/manifest.go
+++ b/swarm/api/manifest.go
@@ -27,7 +27,7 @@ import (
"strings"
"time"
- "github.com/ethereum/go-ethereum/swarm/storage/feeds"
+ "github.com/ethereum/go-ethereum/swarm/storage/feed"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/swarm/log"
@@ -56,7 +56,7 @@ type ManifestEntry struct {
ModTime time.Time `json:"mod_time,omitempty"`
Status int `json:"status,omitempty"`
Access *AccessEntry `json:"access,omitempty"`
- Feed *feeds.Feed `json:"feed,omitempty"`
+ Feed *feed.Feed `json:"feed,omitempty"`
}
// ManifestList represents the result of listing files in a manifest
@@ -82,7 +82,7 @@ func (a *API) NewManifest(ctx context.Context, toEncrypt bool) (storage.Address,
// Manifest hack for supporting Swarm feeds from the bzz: scheme
// see swarm/api/api.go:API.Get() for more information
-func (a *API) NewFeedManifest(ctx context.Context, feed *feeds.Feed) (storage.Address, error) {
+func (a *API) NewFeedManifest(ctx context.Context, feed *feed.Feed) (storage.Address, error) {
var manifest Manifest
entry := ManifestEntry{
Feed: feed,