-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blockcache: respond to PR review comments
This commit embeds the mutex into the mockChainBackend struct, unexports the getter by appending the prefix `get` to the method name, and undoes the split of GetBlock into two methods, which breaks the atomicity of the parent call.
- Loading branch information
Showing
1 changed file
with
18 additions
and
28 deletions.
There are no files selected for viewing
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