We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd5cfc commit aac2af2Copy full SHA for aac2af2
btree/immutable/cacher.go
@@ -70,7 +70,7 @@ func (c *cacher) loadNode(t *Tr, key ID) (*Node, error) {
70
// All found nodes are cached so subsequent calls should be faster than
71
// the initial. This blocks until the node is loaded, but is also threadsafe.
72
func (c *cacher) getNode(t *Tr, key ID, useCache bool) (*Node, error) {
73
- if !cache {
+ if !useCache {
74
return c.loadNode(t, key)
75
}
76
0 commit comments