mirror of
https://github.com/monero-project/monero.git
synced 2026-01-25 13:54:31 +01:00
cryptonote_protocol: update target height when syncing too
This commit is contained in:
@@ -1561,6 +1561,10 @@ skip:
|
|||||||
drop_connection(context, false, false);
|
drop_connection(context, false, false);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (arg.total_height > m_core.get_target_blockchain_height())
|
||||||
|
m_core.set_target_blockchain_height(arg.total_height);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user