Skip to content

Commit

Permalink
Merge pull request #70 from moreal/bugfix/rdb-allow-garage-memo-null
Browse files Browse the repository at this point in the history
Allow `null` memo for garage events in RDB mode
  • Loading branch information
moreal authored Dec 4, 2023
2 parents 0280624 + 76ecc7b commit fdc3009
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 fdc3009

Please sign in to comment.