Skip to content

Commit

Permalink
Add no-op implementation for RegisterDelta.AllocateSlabIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Peter committed Nov 7, 2024
1 parent f26849b commit 165e6a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions storage/register_delta.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@ func (r *RegisterDelta) GetUpdates() flow.RegisterEntries {
}

func (r *RegisterDelta) AllocateSlabIndex(_ []byte) (atree.SlabIndex, error) {
// TODO: If needed add later
panic("should not be called")
return atree.SlabIndex{}, nil
}

0 comments on commit 165e6a6

Please sign in to comment.