Skip to content

Commit

Permalink
fix: Don't remove entries from AnchorRequestStore if applying the anc…
Browse files Browse the repository at this point in the history
…hor fails
  • Loading branch information
stbrody committed Sep 9, 2024
1 parent a342f20 commit 214c185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/state-management/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,8 @@ export class Repository {
if (tip.equals(state$.tip)) {
state$.next({ ...state$.value, anchorStatus: AnchorStatus.FAILED })
}

throw error
}
}
}
Expand Down

0 comments on commit 214c185

Please sign in to comment.