add a log when a astake account is received

This commit is contained in:
musitdev 2023-09-17 10:48:32 +02:00
parent 1232deafd1
commit 7ea1b085f4
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ async fn run_loop<F: Interceptor>(mut client: GeyserGrpcClient<F>) -> anyhow::Re
//log::trace!("Geyser receive new account");
match account.owner {
solana_sdk::stake::program::ID => {
log::trace!("Geyser receive new stake account:{account:?}");
if let Err(err) = stakestore.add_stake(
account,
current_epoch_state.current_epoch_end_slot(),