Skip to content

Commit

Permalink
fix: always initialise heightToTxs map in txcache
Browse files Browse the repository at this point in the history
  • Loading branch information
wwestgarth committed Jun 13, 2024
1 parent 9d3e9cc commit 8e27a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/txcache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func NewTxCache(commander *nodewallets.Commander) *TxCache {
return &TxCache{
commander: commander,
marketToDelayRequired: map[string]bool{},
heightToTxs: map[uint64][][]byte{},
}
}

Expand Down

0 comments on commit 8e27a77

Please sign in to comment.