Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashad Alston authored and Rashad Alston committed Jun 2, 2023
1 parent 743efa0 commit 1a497c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/fuel-indexer/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ pub fn run_executor<T: 'static + Executor + Send + Sync>(
.try_collect()
.expect("Bad receipts.");

let status = trans
.status
.expect("Bad transaction status.");
let status = trans.status.expect("Bad transaction status.");
// NOTE: https://github.com/FuelLabs/fuel-indexer/issues/286
let status = match status.try_into().unwrap() {
ClientTransactionStatus::Success {
Expand Down Expand Up @@ -341,6 +339,8 @@ pub fn run_executor<T: 'static + Executor + Send + Sync>(
transactions,
};

println!("> BLOCK: {:?}", block);

block_info.push(block);
}

Expand Down

0 comments on commit 1a497c2

Please sign in to comment.