fmt and clippy

This commit is contained in:
Sergio Chouhy
2026-04-02 17:48:02 -03:00
parent 29d66d2c2d
commit 6a467da3b1
8 changed files with 65 additions and 44 deletions
+5 -1
View File
@@ -57,7 +57,11 @@ fn main() {
.checked_add(1)
.expect("Next block id should be within u64 boundaries");
let updated_data = ClockAccountData { block_id: current_block_id, timestamp }.to_bytes();
let updated_data = ClockAccountData {
block_id: current_block_id,
timestamp,
}
.to_bytes();
let (pre_01, post_01) = update_if_multiple(pre_01, 1, current_block_id, updated_data);
let (pre_10, post_10) = update_if_multiple(pre_10, 10, current_block_id, updated_data);