From f218c044882a2c40442441d80f14d44d6cfd42f8 Mon Sep 17 00:00:00 2001
From: Roy Lee <roylee17@gmail.com>
Date: Sun, 11 Jul 2021 22:51:28 -0700
Subject: [PATCH] [lbry] claimtrie: remove duplicated initialization of
 reportedBlockRepo

---
 claimtrie/claimtrie.go | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/claimtrie/claimtrie.go b/claimtrie/claimtrie.go
index f27294f7..300298be 100644
--- a/claimtrie/claimtrie.go
+++ b/claimtrie/claimtrie.go
@@ -96,12 +96,6 @@ func New(record bool) (*ClaimTrie, error) {
 		return nil, fmt.Errorf("new trie repo: %w", err)
 	}
 
-	reportedBlockRepo, err := blockrepo.NewPebble(cfg.ReportedBlockRepoPebble.Path)
-	if err != nil {
-		return nil, fmt.Errorf("new reported block repo: %w", err)
-	}
-	cleanups = append(cleanups, reportedBlockRepo.Close)
-
 	trie := merkletrie.New(nodeManager, trieRepo)
 	cleanups = append(cleanups, trie.Close)