Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis committed Mar 5, 2016
1 parent 2813789 commit 52774f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 52774f0

Please sign in to comment.