Created
June 20, 2022 14:31
-
-
Save jeremyorme/aab583154cbd121a4bd4bfd606249548 to your computer and use it in GitHub Desktop.
DbStoreUpdater._isEntryBlockListNew method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_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