diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-24 01:19:33 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-24 01:19:33 +0800 |
commit | 72e2613a9fe3205fa5a67b72b832e03b2357ee88 (patch) | |
tree | bbc987510d279d9e174ff8f684158d668131661e /trie/trie_test.go | |
parent | 5daf8729be88eca87b302ebf7a46fc69cad0f6d0 (diff) | |
parent | 67e6f74e9af00ff011a6a02f18644804eb18cdaa (diff) | |
download | dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.gz dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.bz2 dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.lz dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.xz dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.zst dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.zip |
Merge branch 'release/0.9.32'
Diffstat (limited to 'trie/trie_test.go')
-rw-r--r-- | trie/trie_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/trie_test.go b/trie/trie_test.go index 16311aadf..9a58958d8 100644 --- a/trie/trie_test.go +++ b/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 { |