fix: init_sync_head was not behaving as expected (#1624)

Fix #1612
This commit is contained in:
Antioch Peverell
2018-10-01 16:03:06 +01:00
committed by Gary Yu
parent d8ca684260
commit 4d2cbe6596
3 changed files with 9 additions and 17 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ fn do_header_sync(
header_head.hash(),
header_head.height,
);
chain.init_sync_head(&header_head).unwrap();
chain.reset_sync_head(&header_head).unwrap();
history_locators.clear();
true
}