Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 16, 2024
1 parent 38fc4cc commit 46de4c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions store/tracekv/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ func (tkv *Store) GetStoreType() types.StoreType {
return tkv.parent.GetStoreType()
}

// CacheWrap implements the KVStore interface. It panics because a Store
// cannot be branched.
// CacheWrap implements CacheWrapper.
func (tkv *Store) CacheWrap() types.CacheWrap {
return tkv.parent.CacheWrap()
}
Expand Down
3 changes: 0 additions & 3 deletions store/types/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ type CacheWrap interface {

// Discard the write set
Discard()

// CacheWrapWithTrace branches a store with tracing enabled.
CacheWrapWithTrace(w io.Writer, tc TraceContext) CacheWrap
}

type CacheWrapper interface {
Expand Down

0 comments on commit 46de4c4

Please sign in to comment.