Skip to content

Commit

Permalink
TESTING CI REMOVE ME PLS
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed May 27, 2024
1 parent 7fdaa46 commit f6fb3cf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions crates/sdk/src/masp/shielded_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,21 @@ impl<U: ShieldedUtils + Send + Sync> ShieldedContext<U> {
let (task_scheduler, mut task_manager) =
TaskManager::<U>::new(self.clone());

{
use std::panic;

let panic_hook = panic::take_hook();

panic::set_hook(Box::new(move |panic_info| {
println!("=========================================================");
println!("=========================================================");
println!("{panic_info}");
panic_hook(panic_info);
println!("=========================================================");
println!("=========================================================");
}));
}

// The main loop that performs
// * fetching and caching MASP txs in sequence
// * trial decryption of each note to determine if it is owned by a
Expand Down

0 comments on commit f6fb3cf

Please sign in to comment.