Skip to content

Commit

Permalink
Update components/chainhook-sdk/src/observer/http.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Little <[email protected]>
  • Loading branch information
rafaelcr and zone117x authored Oct 15, 2024
1 parent c4068ed commit c4c2d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/chainhook-sdk/src/observer/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub fn handle_stackerdb_chunks(
// Standardize the structure of the StackerDB chunk, and identify the kind of update that this new message would imply.
let chain_event = match indexer_rw_lock.inner().write() {
Ok(mut indexer) => indexer
.handle_stacks_marshalled_microblock_trail(payload.into_inner(), ctx),
.handle_stacks_marshalled_stackerdb_chunk(payload.into_inner(), ctx),
Err(e) => {
return error_response(format!("Unable to acquire background_job_tx: {e}"), ctx);
}
Expand Down

0 comments on commit c4c2d2e

Please sign in to comment.