Skip to content

Commit 0b4e51d

Browse files
committed
chore: Fix lint warnings
1 parent e8f16c9 commit 0b4e51d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/mapper/shelley.rs

+1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ impl EventWriter {
213213
.find(|(k, _)| *k == (idx as u32))
214214
.map(|(_, v)| v);
215215

216+
#[allow(deprecated)]
216217
let tx_hash = crypto::hash_transaction(tx).to_hex();
217218

218219
let child = self.child_writer(EventContext {

src/sinks/assert/run.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ pub fn assertion_loop(
7777

7878
state = reduce_state(state, event);
7979

80-
run_check!(&config, &state, block_depth_doesnt_skip_numbers);
81-
run_check!(&config, &state, block_slot_increases);
82-
run_check!(&config, &state, block_previous_hash_matches);
83-
run_check!(&config, &state, event_timestamp_increases);
84-
run_check!(&config, &state, tx_records_matches_block_count);
85-
run_check!(&config, &state, tx_has_input_and_output);
80+
run_check!(config, &state, block_depth_doesnt_skip_numbers);
81+
run_check!(config, &state, block_slot_increases);
82+
run_check!(config, &state, block_previous_hash_matches);
83+
run_check!(config, &state, event_timestamp_increases);
84+
run_check!(config, &state, tx_records_matches_block_count);
85+
run_check!(config, &state, tx_has_input_and_output);
8686
}
8787

8888
Ok(())

0 commit comments

Comments
 (0)