Skip to content

Commit

Permalink
fix delegation event not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Dec 18, 2024
1 parent 806308d commit 5285dfe
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions backend-rust/src/indexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1208,8 +1208,13 @@ impl PreparedEvent {
} => None,

AccountTransactionEffects::DelegationConfigured {
data,
} => None,
data: events
} => Some(PreparedEvent::AccountDelegationEvents(
events
.iter()
.map(PreparedAccountDelegationEvent::prepare)
.collect::<anyhow::Result<Vec<_>>>()?,
)),
},
details => {
warn!("details = \n {:#?}", details);
Expand Down

0 comments on commit 5285dfe

Please sign in to comment.