Skip to content

Commit

Permalink
Fix release build (MystenLabs#2491)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Jun 8, 2022
1 parent cdfd8dc commit ca6cc92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/sui-core/src/execution_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ fn transfer_sui<S>(

// TODO: Emit a new event type for this.

debug_assert_eq!(object.version(), version);
#[cfg(debug_assertions)]
assert_eq!(object.version(), version);

temporary_store.write_object(object);

Ok(())
Expand Down

0 comments on commit ca6cc92

Please sign in to comment.