Skip to content

Commit f69b924

Browse files
committed
Revert change to test_inv_sync_start_reward_cycle. Need to fix get_block_scan_start.
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 96978c0 commit f69b924

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

stacks-node/src/run_loop/neon.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use std::sync::atomic::AtomicU64;
33
use std::sync::atomic::{AtomicBool, Ordering};
44
use std::sync::mpsc::sync_channel;
55
use std::sync::{Arc, Mutex};
6-
use std::thread::JoinHandle;
76
use std::thread;
7+
use std::thread::JoinHandle;
88

99
use libc;
1010
use stacks::burnchains::bitcoin::address::{BitcoinAddress, LegacyBitcoinAddressType};
@@ -64,7 +64,6 @@ pub struct RunLoopCounter(pub Arc<AtomicU64>);
6464
#[derive(Clone)]
6565
pub struct RunLoopCounter();
6666

67-
6867
impl Default for RunLoopCounter {
6968
#[cfg(test)]
7069
fn default() -> Self {

stackslib/src/net/tests/inv/epoch2x.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ fn test_inv_sync_start_reward_cycle() {
12611261
let block_scan_start = peer_1
12621262
.network
12631263
.get_block_scan_start(peer_1.sortdb.as_ref().unwrap());
1264-
assert_eq!(block_scan_start, 7);
1264+
assert_eq!(block_scan_start, 8);
12651265

12661266
peer_1.network.connection_opts.inv_reward_cycles = 2;
12671267

0 commit comments

Comments
 (0)