mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
trie: fixed tests
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
type Db map[string][]byte
|
||||
|
||||
func (self Db) Get(k []byte) ([]byte, error) { return self[string(k)], nil }
|
||||
func (self Db) Put(k, v []byte) { self[string(k)] = v }
|
||||
func (self Db) Put(k, v []byte) error { self[string(k)] = v; return nil }
|
||||
|
||||
// Used for testing
|
||||
func NewEmpty() *Trie {
|
||||
|
||||
Reference in New Issue
Block a user