mirror of
https://github.com/arnaucube/go-merkletree-iden3.git
synced 2026-02-07 11:36:47 +01:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user