Skip to content

Commit 3e7ea3e

Browse files
fixes
1 parent 7c2d47d commit 3e7ea3e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dash-spv/tests/header_sync_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ async fn test_header_sync_with_client_integration() {
319319

320320
let stats = stats.unwrap();
321321
assert_eq!(stats.header_height, 0);
322-
assert!(!stats.headers_synced);
323322

324323
info!("Header sync client integration test completed");
325324
}

dash-spv/tests/integration_real_node_test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ async fn test_real_header_sync_genesis_to_1000() {
132132
client.sync_progress().await.expect("Failed to get initial sync progress");
133133

134134
info!(
135-
"Initial sync state: height={}, synced={}",
136-
initial_progress.header_height, initial_progress.headers_synced
135+
"Initial sync state: header_height={} filter_header_height={}",
136+
initial_progress.header_height, initial_progress.filter_header_height
137137
);
138138

139139
// Perform header sync
@@ -241,7 +241,7 @@ async fn test_real_header_sync_up_to_10k() {
241241
}
242242

243243
// Check if we've reached our target or sync is complete
244-
if progress.header_height >= MAX_TEST_HEADERS || progress.headers_synced {
244+
if progress.header_height >= MAX_TEST_HEADERS {
245245
return Ok::<_, dash_spv::error::SpvError>(progress);
246246
}
247247

0 commit comments

Comments
 (0)