mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-05 02:45:02 +00:00
swarm,cmd: fix migration link, change loglevel severity (#1420)
This commit is contained in:
parent
bd1887189c
commit
a454aa6c8d
2 changed files with 2 additions and 2 deletions
|
|
@ -217,7 +217,7 @@ func exportLegacy(path string, basekey []byte, out io.Writer) (int64, error) {
|
|||
datakey := getDataKey(index.Idx, po)
|
||||
data, err := db.Get(datakey, nil)
|
||||
if err != nil {
|
||||
log.Crit(fmt.Sprintf("Chunk %x found but could not be accessed: %v, %x", key, err, datakey))
|
||||
log.Warn(fmt.Sprintf("Chunk %x found but could not be accessed: %v, %x", key, err, datakey))
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
2
swarm.go
2
swarm.go
|
|
@ -153,7 +153,7 @@ func NewSwarm(config *api.Config, mockStore *mock.NodeStore) (self *Swarm, err e
|
|||
isLegacy := localstore.IsLegacyDatabase(config.ChunkDbPath)
|
||||
|
||||
if isLegacy {
|
||||
return nil, errors.New("Legacy database format detected! Please read the migration announcement at: https://github.com/ethersphere/go-ethereum/wiki/Swarm-v0.4-local-store-migration")
|
||||
return nil, errors.New("Legacy database format detected! Please read the migration announcement at: https://github.com/ethersphere/swarm/blob/master/docs/Migration-v0.3-to-v0.4.md")
|
||||
}
|
||||
|
||||
var feedsHandler *feed.Handler
|
||||
|
|
|
|||
Loading…
Reference in a new issue