Skip to content

Commit

Permalink
fix(metrics): pass metrics to mempool init (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs authored and omritoptix committed May 18, 2024
1 parent bd7a44a commit 62947d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func NewNode(

height := max(genesis.InitialHeight, info.LastBlockHeight)

mp := mempoolv1.NewTxMempool(logger, &conf.MempoolConfig, proxyApp.Mempool(), height)
mp := mempoolv1.NewTxMempool(logger, &conf.MempoolConfig, proxyApp.Mempool(), height, mempoolv1.WithMetrics(metrics))
mpIDs := nodemempool.NewMempoolIDs()

// Set p2p client and it's validators
Expand Down

0 comments on commit 62947d6

Please sign in to comment.