From 3c77b88ee2f03be6386dbc8c0ef250d65d6d0f1d Mon Sep 17 00:00:00 2001 From: Nithish Karthik Date: Fri, 12 Apr 2024 03:23:53 +0530 Subject: [PATCH] 1700 --- src/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.go b/src/main.go index cc03fe6..fadb71c 100644 --- a/src/main.go +++ b/src/main.go @@ -100,7 +100,7 @@ func GetValidTxns() *priorityQueue.Queue { func GetTop(pq *priorityQueue.Queue) []*txn.Transaction { txns := make([]*txn.Transaction, 0) - for range 2000 { + for range 1700 { t := txn.Transaction((pq.Pop()).(Item)) txns = append(txns, &t) }