Skip to content

Commit

Permalink
Merge pull request #1 from divvyseldome/more-than-9-eligible-plots
Browse files Browse the repository at this point in the history
catch more than 9 eligible plots from the logs
  • Loading branch information
kubec authored May 29, 2021
2 parents b360468 + 595094d commit b6757b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chia-log-analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func readFile(fname string) {

func parseLines(lines []string) {
//0 plots were eligible for farming 27274481c3... Found 0 proofs. Time: 0.14447 s. Total 105 plots
regexPlotsFarming, _ := regexp.Compile("([0-9])\\s+plots\\s+were\\seligible.*Found\\s([0-9])+\\sproofs.*Time:\\s([0-9]+\\.[0-9]+)\\ss\\.\\sTotal\\s([0-9]+)\\splots")
regexPlotsFarming, _ := regexp.Compile("([0-9]+)\\s+plots\\s+were\\seligible.*Found\\s([0-9])+\\sproofs.*Time:\\s([0-9]+\\.[0-9]+)\\ss\\.\\sTotal\\s([0-9]+)\\splots")

startParsingLines := false
for i, s := range lines {
Expand Down

0 comments on commit b6757b5

Please sign in to comment.