Skip to content

Commit

Permalink
deploy: fa17c52
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e committed Mar 7, 2024
1 parent 9b3dbbb commit 2e825f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion master/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -3454,7 +3454,7 @@ <h2 id="loadscript"><a class="header" href="#loadscript"><code>LoadScript</code>
provider.produce_blocks(blocks_to_produce, None).await?;
assert_eq!(provider.latest_block_height().await?, blocks_to_produce);
let expected_latest_block_time = origin_block_time
.checked_add_signed(Duration::seconds((blocks_to_produce * block_time) as i64))
.checked_add_signed(Duration::try_seconds((blocks_to_produce * block_time) as i64).unwrap())
.unwrap();
assert_eq!(
provider.latest_block_time().await?.unwrap(),
Expand Down
2 changes: 1 addition & 1 deletion master/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/searchindex.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/testing/chains.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h1 id="increasing-the-block-height"><a class="header" href="#increasing-the-blo
provider.produce_blocks(blocks_to_produce, None).await?;
assert_eq!(provider.latest_block_height().await?, blocks_to_produce);
let expected_latest_block_time = origin_block_time
.checked_add_signed(Duration::seconds((blocks_to_produce * block_time) as i64))
.checked_add_signed(Duration::try_seconds((blocks_to_produce * block_time) as i64).unwrap())
.unwrap();
assert_eq!(
provider.latest_block_time().await?.unwrap(),
Expand Down

0 comments on commit 2e825f4

Please sign in to comment.