|
@@ -84,6 +84,10 @@ void replay_account_executed_instructions(void)
|
|
|
if (replay_state.instructions_count > 0) {
|
|
|
int count = (int)(replay_get_current_step()
|
|
|
- replay_state.current_step);
|
|
|
+
|
|
|
+ /* Time can only go forward */
|
|
|
+ assert(count >= 0);
|
|
|
+
|
|
|
replay_state.instructions_count -= count;
|
|
|
replay_state.current_step += count;
|
|
|
if (replay_state.instructions_count == 0) {
|