moved fee collection code to runtime

This commit is contained in:
Pankaj Garg
2019-02-21 13:37:08 -08:00
committed by Grimes
parent c142a82ae0
commit 5c9777970d
7 changed files with 176 additions and 129 deletions

View File

@ -130,7 +130,7 @@ fn main() {
last_id = entry.id;
num_entries += 1;
if let Err(e) = blocktree_processor::process_entry(&bank, &entry).0 {
if let Err(e) = blocktree_processor::process_entry(&bank, &entry) {
eprintln!("verify failed at entry[{}], err: {:?}", i + 2, e);
if !matches.is_present("continue") {
exit(1);