From 52774f0516156e0e23216283da682d5b668bc1f3 Mon Sep 17 00:00:00 2001 From: djherbis Date: Sat, 5 Mar 2016 12:40:48 -0800 Subject: [PATCH] bug fix --- store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store.go b/store.go index 1a4fd08..d81b146 100644 --- a/store.go +++ b/store.go @@ -61,7 +61,7 @@ func (s *Store) NewNestedStore(bucket []byte) *Store { // Codec used by the returned Store. func (s *Store) NewCustomNestedStore(bucket []byte, codec Codec) *Store { return &Store{ - db: db, + db: s.db, bucket: append(s.bucket, bucket), codec: codec, }