cryptonote_protocol: update target height when syncing too

release-v0.11.0.0
moneromooo-monero 7 years ago
parent e2ad372b87
commit cc81a37155
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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;
}
//------------------------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save