Skip to content

Commit

Permalink
add temp tx
Browse files Browse the repository at this point in the history
  • Loading branch information
humblenginr committed Apr 11, 2024
1 parent 2449fcd commit 9d764b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func SelectTransactionsFromPaths(validTxnPaths []string) []*txn.Transaction {

func main() {
UpdateValidTxns()
txns := SelectTransactionsFromPaths([]string{})
txns := SelectTransactionsFromPaths(TemporaryValidTxn)
candidateBlock := mining.GetCandidateBlock(txns, true)
mining.MineBlock(candidateBlock, OutputFilePath)
}

0 comments on commit 9d764b2

Please sign in to comment.