Set exit when replicator run exits (#5016)

This commit is contained in:
Sagar Dhawan 2019-07-10 16:27:18 -07:00 committed by GitHub
parent b50a3bae72
commit e4926e4110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -367,6 +367,7 @@ impl Replicator {
meta.blockhash = storage_blockhash;
Self::redeem_rewards(&cluster_info, replicator_keypair, storage_keypair);
}
exit.store(true, Ordering::Relaxed);
}
fn redeem_rewards(