Skip to content

Commit 13704e4

Browse files
committed
Fix lint errors
1 parent c6fa57d commit 13704e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/staking_rewards/rewards.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ def process(self) -> None:
172172
f"Voting for new total rewards with parameters:"
173173
f" block number={next_sync_block_number}, epoch={epoch}"
174174
)
175-
current_epoch: int = (int((int(time.time()) - self.genesis_timestamp) / self.seconds_per_epoch))
175+
current_epoch: int = int(
176+
(int(time.time()) - self.genesis_timestamp) / self.seconds_per_epoch
177+
)
176178

177179
if epoch < current_epoch - TOO_FAR_EPOCHS_SPAN:
178180
# Wait for next update round as the required epoch is too far behind

0 commit comments

Comments
 (0)