Skip to content

Commit 249136c

Browse files
committed
fix: use tenure height for Clarity 2 contracts
1 parent 9abf6f1 commit 249136c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testnet/stacks-node/src/tests/nakamoto_integrations.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7230,14 +7230,14 @@ fn get_block_times(
72307230
let contract1_name = "test-contract-1";
72317231
let contract3_name = "test-contract-3";
72327232

7233-
info!("Getting block times at block {block_height}, {tenure_height}...");
7233+
info!("Getting block times at block {block_height}, tenure {tenure_height}...");
72347234

72357235
let time0_value = call_read_only(
72367236
&naka_conf,
72377237
&sender_addr,
72387238
contract0_name,
72397239
"get-time",
7240-
vec![&clarity::vm::Value::UInt(block_height)],
7240+
vec![&clarity::vm::Value::UInt(tenure_height)],
72417241
);
72427242
let time0 = time0_value
72437243
.expect_optional()
@@ -7265,7 +7265,7 @@ fn get_block_times(
72657265
&sender_addr,
72667266
contract1_name,
72677267
"get-time",
7268-
vec![&clarity::vm::Value::UInt(block_height)],
7268+
vec![&clarity::vm::Value::UInt(tenure_height)],
72697269
);
72707270
let time1 = time1_value
72717271
.expect_optional()

0 commit comments

Comments
 (0)