Skip to content

Commit 7de4d28

Browse files
committed
Fix block proposal rejection test by updating header timestamp
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 8e75867 commit 7de4d28

File tree

1 file changed

+1
-0
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+1
-0
lines changed

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ fn block_proposal_rejection() {
488488
header: NakamotoBlockHeader::empty(),
489489
txs: vec![],
490490
};
491+
block.header.timestamp = get_epoch_time_secs();
491492

492493
// First propose a block to the signers that does not have the correct consensus hash or BitVec. This should be rejected BEFORE
493494
// the block is submitted to the node for validation.

0 commit comments

Comments
 (0)