mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
swarm/storage: rename schema to purity
This commit is contained in:
parent
aacbec8a99
commit
bf193d8b61
2 changed files with 4 additions and 4 deletions
|
|
@ -211,7 +211,7 @@ func (ls *LocalStore) Migrate() error {
|
|||
|
||||
ls.DbStore.Cleanup(cleanupFunc)
|
||||
|
||||
err := ls.DbStore.PutSchema(DbSchemaHive)
|
||||
err := ls.DbStore.PutSchema(DbSchemaPurity)
|
||||
if err != nil {
|
||||
log.Error(err.Error())
|
||||
return err
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package storage
|
||||
|
||||
// "hive" is the first formal schema of LevelDB we release together with Swarm 0.3.4
|
||||
const DbSchemaHive = "hive"
|
||||
// "purity" is the first formal schema of LevelDB we release together with Swarm 0.3.5
|
||||
const DbSchemaPurity = "purity"
|
||||
|
||||
const CurrentDbSchema = DbSchemaHive
|
||||
const CurrentDbSchema = DbSchemaPurity
|
||||
|
|
|
|||
Loading…
Reference in a new issue