Skip to content

Instantly share code, notes, and snippets.

@jeremyorme
Created June 20, 2022 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyorme/aab583154cbd121a4bd4bfd606249548 to your computer and use it in GitHub Desktop.
Save jeremyorme/aab583154cbd121a4bd4bfd606249548 to your computer and use it in GitHub Desktop.
DbStoreUpdater._isEntryBlockListNew method
_isEntryBlockListNew(entryBlockList: IEntryBlockList) {
const existingEntryBlockList = this._entryBlockLists.get(entryBlockList.ownerIdentity);
return !existingEntryBlockList || entryBlockList.clock > existingEntryBlockList.clock;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment