Skip to content

Commit

Permalink
fix incremental output when not using bloom filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancdotorg committed Jan 23, 2016
1 parent 5d8e53e commit 2db10b1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions brainflayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,11 +602,14 @@ int main(int argc, char **argv) {
++olines;
}
}
} else if (Lopt) {
fprintlookup(ofile, &hash160_uncmp, &hash160_compr, priv256, topt, line);
} else {
fprintresult(ofile, &hash160_uncmp, 'u', topt, line);
fprintresult(ofile, &hash160_compr, 'c', topt, line);
if (Iopt) { hex(priv256, 32, line, 65); }
if (Lopt) {
fprintlookup(ofile, &hash160_uncmp, &hash160_compr, priv256, topt, line);
} else {
fprintresult(ofile, &hash160_uncmp, 'u', topt, line);
fprintresult(ofile, &hash160_compr, 'c', topt, line);
}
}

loop_update_stats:
Expand Down

0 comments on commit 2db10b1

Please sign in to comment.