From 1e1e063235ee1d29ba6ac1299e2617115ee9fc56 Mon Sep 17 00:00:00 2001 From: Stephen Buttolph Date: Sun, 10 Dec 2023 21:07:28 -0500 Subject: [PATCH] lol --- vms/platformvm/txs/mempool/mempool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vms/platformvm/txs/mempool/mempool.go b/vms/platformvm/txs/mempool/mempool.go index 19c0190cb925..25893bbfbbbd 100644 --- a/vms/platformvm/txs/mempool/mempool.go +++ b/vms/platformvm/txs/mempool/mempool.go @@ -251,7 +251,7 @@ func (m *mempool) RequestBuildBlock(emptyBlockPermitted bool) { zap.Bool("emptyBlockPermitted", emptyBlockPermitted), zap.Int("mempoolSize", m.unissuedTxs.Len()), ) - if !emptyBlockPermitted && m.unissuedTxs.Len() != 0 { + if !emptyBlockPermitted && m.unissuedTxs.Len() == 0 { return }