Skip to content

Commit 335f66f

Browse files
drcpu-githubaesedepece
authored andcommitted
chore(bridges): cargo fmt
1 parent b155e53 commit 335f66f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bridges/centralized-ethereum/src/actors/wit_poller.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,10 @@ async fn get_dr_timestamp(
305305
.unwrap_or(&45u16);
306306

307307
Ok(protocol_activation_timestamp
308-
+ i64::from((dr_last_commit_epoch - protocol_activation_epoch) * u32::from(*protocol_checkpoint_period)))
308+
+ i64::from(
309+
(dr_last_commit_epoch - protocol_activation_epoch)
310+
* u32::from(*protocol_checkpoint_period),
311+
))
309312
}
310313

311314
/// Get current protocol info from the Witnet node

0 commit comments

Comments
 (0)