Skip to content

Commit 90b98f0

Browse files
committed
chore: fix failing (broken) unit test
1 parent 5b12c2a commit 90b98f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stackslib/src/net/tests/download/nakamoto.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ fn test_nakamoto_tenure_downloader() {
230230
};
231231

232232
let mut td = NakamotoTenureDownloader::new(
233-
ch,
233+
tenure_start_block.header.consensus_hash.clone(),
234234
tenure_start_block.header.block_id(),
235235
next_tenure_start_block.header.block_id(),
236236
naddr.clone(),
@@ -293,6 +293,7 @@ fn test_nakamoto_tenure_downloader() {
293293
.try_accept_tenure_blocks(vec![next_tenure_start_block.clone()])
294294
.is_err());
295295

296+
debug!("Try accept {:?}", &block);
296297
let res = td.try_accept_tenure_blocks(vec![block.clone()]);
297298
assert!(res.is_ok());
298299
assert!(res.unwrap().is_none());

0 commit comments

Comments
 (0)