From 817581a9353e5090854b512782c42a5c765d25c7 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 22 Aug 2018 16:59:35 -0700 Subject: [PATCH] query: fix compile error due to package rename --- query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query.go b/query.go index 6db67db00..6ad8b709d 100644 --- a/query.go +++ b/query.go @@ -914,7 +914,7 @@ func (s *ChainService) GetBlock(blockHash chainhash.Hash, if err == nil && blockValue != nil { return blockValue.(*cache.CacheableBlock).Block, err } - if err != nil && err != lru.ErrElementNotFound { + if err != nil && err != cache.ErrElementNotFound { return nil, err }