Rm db.Info, rm go-iden3-core dependency

Rm db.Info, rm go-iden3-core dependency, update version of
go-iden3-crypto
This commit is contained in:
arnaucube
2020-12-18 11:58:02 +01:00
parent e5a3d7e049
commit 5c7c03eca1
8 changed files with 48 additions and 110 deletions

View File

@@ -25,11 +25,6 @@ func NewMemoryStorage() *Storage {
return &Storage{[]byte{}, kvmap}
}
// Info implements the method Info of the interface db.Storage
func (m *Storage) Info() string {
return "in-memory"
}
// WithPrefix implements the method WithPrefix of the interface db.Storage
func (m *Storage) WithPrefix(prefix []byte) db.Storage {
return &Storage{db.Concat(m.prefix, prefix), m.kv}