Skip to content

Commit

Permalink
Allow null memo for garage events in RDB mode
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Dec 4, 2023
1 parent 0280624 commit 76ecc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync/upstream/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function isValidParsedMemo(
return (
checkError(() => Address.fromHex(parsedMemo.agentAddress, true)) &&
checkError(() => Address.fromHex(parsedMemo.avatarAddress, true)) &&
typeof parsedMemo.memo === "string"
(typeof parsedMemo.memo === "string" || parsedMemo.memo === null)
);
}

Expand Down

0 comments on commit 76ecc7b

Please sign in to comment.