Review comments

This commit is contained in:
Tyera Eulberg
2019-03-07 15:58:11 -07:00
committed by Tyera Eulberg
parent e888c90ecf
commit 259c820f15
3 changed files with 11 additions and 11 deletions

View File

@ -176,10 +176,8 @@ impl RpcSubscriptions {
};
for program_id in &programs {
let accounts = &bank.get_program_accounts_modified_since_parent(program_id);
if !accounts.is_empty() {
for (pubkey, account) in accounts.iter() {
self.check_program(program_id, pubkey, account);
}
for (pubkey, account) in accounts.iter() {
self.check_program(program_id, pubkey, account);
}
}