diff --git a/grpc-server.go b/grpc-server.go index 1baec44..e16cf90 100644 --- a/grpc-server.go +++ b/grpc-server.go @@ -696,6 +696,17 @@ 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.PublicKey.String()]; exists { + return true + } + } } return false