1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

cryptonote_protocol: update target height when syncing too

This commit is contained in:
moneromooo-monero 2017-08-22 17:17:19 +01:00
parent e2ad372b87
commit cc81a37155
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -1561,6 +1561,10 @@ skip:
drop_connection(context, false, false);
return 1;
}
if (arg.total_height > m_core.get_target_blockchain_height())
m_core.set_target_blockchain_height(arg.total_height);
return 1;
}
//------------------------------------------------------------------------------------------------------------------------