Skip to content

Commit

Permalink
include accounts from lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
anjor committed Dec 17, 2024
1 parent 3ed45d2 commit 24f9ac1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions grpc-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,16 @@ func blockContainsAccounts(block *old_faithful_grpc.BlockResponse, accounts []st
}
}

accMetaList, err := solTx.AccountMetaList()
if err != nil {
klog.Warningf("Failed to get account meta list: %w", err)
continue
}

for _, acc := range accMetaList {
if _, exists := accountSet[acc.String()]; exists {
return true
}
}

return false
Expand Down

0 comments on commit 24f9ac1

Please sign in to comment.