Skip to content

Commit

Permalink
the position root value could not be updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Jan 4, 2024
1 parent 522218c commit 267fbaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ func (rs *RefreshService) isUpdatedIndexSlots(
}

switch merklizedRootPosition {
case core.MerklizedRootPositionIndex, core.MerklizedRootPositionValue:
case core.MerklizedRootPositionIndex:
return nil
case core.MerklizedRootPositionValue:
return errIndexSlotsNotUpdated
case core.MerklizedRootPositionNone:
credentialBytes, err := rs.loadContexts(credential.Context)
if err != nil {
Expand Down

0 comments on commit 267fbaa

Please sign in to comment.