Cleanup debug issues, corrects RPC server logic

This commit is contained in:
Age Manning
2019-03-28 17:22:09 +11:00
parent cc4ccd4017
commit 2a2660ce62
3 changed files with 4 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ impl BeaconNode for ValidatorServiceClient {
if !validator_duty.has_duty() {
// validator is inactive
epoch_duties.insert(pubkeys[index].clone(), None);
break;
continue;
}
// active validator
let active_duty = validator_duty.get_duty();