From 8e27a77494531f70e86f02f32316c345264f2c3e Mon Sep 17 00:00:00 2001 From: wwestgarth Date: Wed, 12 Jun 2024 17:13:26 +0100 Subject: [PATCH] fix: always initialise heightToTxs map in txcache --- core/txcache/cache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/txcache/cache.go b/core/txcache/cache.go index 05834c3ffaa..179e79e3fd7 100644 --- a/core/txcache/cache.go +++ b/core/txcache/cache.go @@ -33,6 +33,7 @@ func NewTxCache(commander *nodewallets.Commander) *TxCache { return &TxCache{ commander: commander, marketToDelayRequired: map[string]bool{}, + heightToTxs: map[uint64][][]byte{}, } }