Skip to content

Commit

Permalink
The getTokenAccountsByOwner bench now actually fetches accounts (#3966
Browse files Browse the repository at this point in the history
)
  • Loading branch information
steveluscher authored Dec 7, 2024
1 parent 1cab6b7 commit 6e4fd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-cluster-bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ fn run_rpc_bench_loop(
RpcBench::TokenAccountsByOwner => {
let mut rpc_time = Measure::start("rpc-get-token-accounts-by-owner");
let filter = TokenAccountsFilter::Mint(*mint.as_ref().unwrap());
match client.get_token_accounts_by_owner(program_id, filter) {
match client.get_token_accounts_by_owner(base_keypair_pubkey, filter) {
Ok(_accounts) => {
rpc_time.stop();
stats.success += 1;
Expand Down

0 comments on commit 6e4fd19

Please sign in to comment.