chore(git): cleanup
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s

This commit is contained in:
enes 2024-09-10 13:07:41 +02:00
parent c09837ea20
commit 7163f4aae1

View File

@ -876,7 +876,6 @@ const processReceivedEvent = async (event: Event, difficulty: number = 5) => {
.processedGiftWraps .processedGiftWraps
if (processedEvents.includes(event.id)) return if (processedEvents.includes(event.id)) return
// Consider the gift wrap as processed immediately
store.dispatch(updateProcessedGiftWraps([...processedEvents, event.id])) store.dispatch(updateProcessedGiftWraps([...processedEvents, event.id]))
// validate PoW // validate PoW
@ -890,6 +889,7 @@ const processReceivedEvent = async (event: Event, difficulty: number = 5) => {
event.pubkey, event.pubkey,
event.content event.content
) )
const internalUnsignedEvent = await parseJson<UnsignedEvent>(decrypted).catch( const internalUnsignedEvent = await parseJson<UnsignedEvent>(decrypted).catch(
(err) => { (err) => {
console.log( console.log(