From 79f5d44ece9d6b1e96dde69b633eaeba66ff9522 Mon Sep 17 00:00:00 2001 From: Nithish Karthik Date: Fri, 12 Apr 2024 00:31:56 +0530 Subject: [PATCH] full --- src/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.go b/src/main.go index b37850a..a1aefcd 100644 --- a/src/main.go +++ b/src/main.go @@ -116,8 +116,8 @@ func SelectTransactionsFromPaths(validTxnPaths []string) []*txn.Transaction { // Block Hash does not meet difficulty target func main() { - // UpdateValidTxns() - txns := SelectTransactionsFromPaths(TemporaryValidTxns) + UpdateValidTxns() + txns := mining.SelectTransactionsFromFolder(ValidTxnsDirPath) candidateBlock := mining.GetCandidateBlock(txns, true) mining.MineBlock(candidateBlock, OutputFilePath) }