Timer to 30s

This commit is contained in:
adityapk 2022-05-13 11:12:12 -05:00
parent f6ea41cf9c
commit 3bec6d290c
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ func refreshMempoolTxns() error {
// StartMempoolMonitor starts monitoring the mempool
func StartMempoolMonitor(cache *BlockCache, done <-chan bool) {
go func() {
ticker := time.NewTicker(4 * time.Second)
ticker := time.NewTicker(30 * time.Second)
blockcache = cache
lastHash = blockcache.GetLatestHash()