Skip to content

Commit

Permalink
Revert "Fix run_local for simple clock"
Browse files Browse the repository at this point in the history
This reverts commit 34f05a4.
  • Loading branch information
Rexagon committed Sep 20, 2023
1 parent 34f05a4 commit b1278fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nekoton-abi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -729,10 +729,9 @@ impl<'a> FunctionAbi<'a> {
.and_then(SliceData::load_builder)?,
);
} else {
// NOTE: `now_ms + 1000` is used here to satisfy the replay protection check
msg.set_body(
self.abi
.encode_run_local_input(now_ms + 1000, input)
.encode_run_local_input(now_ms, input)
.and_then(SliceData::load_builder)?,
);
}
Expand Down

0 comments on commit b1278fe

Please sign in to comment.