trie: fixed tests

pull/1305/head
obscuren 10 years ago
parent c590b505ed
commit a40a91d60f
  1. 2
      trie/trie_test.go

@ -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 {

Loading…
Cancel
Save