diff --git a/infrastructure/tari_script/src/script.rs b/infrastructure/tari_script/src/script.rs index 38cf20ebb5..6b6b64c56f 100644 --- a/infrastructure/tari_script/src/script.rs +++ b/infrastructure/tari_script/src/script.rs @@ -930,7 +930,7 @@ mod test { let ctx = context_with_height(u64::try_from(block_height).unwrap()); assert_eq!( script.execute_with_context(&inputs, &ctx).unwrap(), - Number(block_height - 5) + Number(5 - block_height) ); }