Update last imported number on new block
This commit is contained in:
parent
76590d5a82
commit
8b0ec51c0f
@ -466,6 +466,7 @@ impl ChainSync {
|
||||
trace!(target: "sync", "New block already queued {:?}", h);
|
||||
},
|
||||
Ok(_) => {
|
||||
self.last_imported_block = Some(header.number);
|
||||
trace!(target: "sync", "New block queued {:?}", h);
|
||||
},
|
||||
Err(ImportError::UnknownParent) => {
|
||||
|
Loading…
Reference in New Issue
Block a user