Skip to content

Commit 11d0ef1

Browse files
committed
fix(repo-util): set chainstore on repo lens util
1 parent 24d1366 commit 11d0ef1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lens/util/repo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ func NewAPIOpener(c *cli.Context, bs blockstore.Blockstore, head HeadMthd) (*API
7878

7979
sm := stmgr.NewStateManager(cs)
8080

81+
rapi.cs = cs
8182
rapi.FullNodeAPI.ChainAPI.Chain = cs
8283
rapi.FullNodeAPI.ChainAPI.ChainModuleAPI = &full.ChainModule{Chain: cs}
8384
rapi.FullNodeAPI.StateAPI.Chain = cs

0 commit comments

Comments
 (0)