diff options
Diffstat (limited to 'state/pebble_state.go')
| -rw-r--r-- | state/pebble_state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/state/pebble_state.go b/state/pebble_state.go index 3eeaa05..0b60deb 100644 --- a/state/pebble_state.go +++ b/state/pebble_state.go | |||
| @@ -44,7 +44,7 @@ func (p *pebbleStateValue) Value(ctx context.Context) (any, error) { | |||
| 44 | 44 | ||
| 45 | res := core.GetBuffer(len(v)) | 45 | res := core.GetBuffer(len(v)) |
| 46 | copy(res, v) | 46 | copy(res, v) |
| 47 | return v, nil | 47 | return res, nil |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | func (p *pebbleStateValue) Clear(ctx context.Context) error { | 50 | func (p *pebbleStateValue) Clear(ctx context.Context) error { |
