upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/git/authorization.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-18 09:43:34 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-18 09:43:34 +0000
commit28aa19bc5b196f2259ab8ff0ac8534afe886529f (patch)
tree4d7281eb7966b295eb657c326f3a718b44e51693 /src/git/authorization.rs
parent85d621c791efaad1245c1aec8e5185a1eb78c7b9 (diff)
fix: only evict purgatory entry when incoming rejected announcement is newer
An older rejected announcement (e.g. a relay replay of a superseded event) was incorrectly evicting a newer purgatory entry for the same pubkey+identifier. Now only evict when the incoming event's created_at is strictly greater than the stored entry's created_at.
Diffstat (limited to 'src/git/authorization.rs')
0 files changed, 0 insertions, 0 deletions