aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_basic_impl.cpp
diff options
context:
space:
mode:
authorrbrunner7 <rbrunner@dreamshare.ch>2020-01-05 16:38:39 +0100
committerrbrunner7 <rbrunner@dreamshare.ch>2020-01-10 15:49:49 +0100
commit664720747f7a25c13f5c5daad7583771ea9a9056 (patch)
treead119acdb6356512471c83dd3ae95c7baefeee3a /src/cryptonote_basic/cryptonote_basic_impl.cpp
parentb4e1dc83d275f8ee9a8c12615cf952f05161c7a3 (diff)
downloadmonzero-core-664720747f7a25c13f5c5daad7583771ea9a9056.tar.gz
monzero-core-664720747f7a25c13f5c5daad7583771ea9a9056.tar.xz
monzero-core-664720747f7a25c13f5c5daad7583771ea9a9056.zip
Daemon: Guard against reporting "synchronized" too early
The added condition "hshd.current_height >= target" guards against reporting "synchronized" too early in the special situation that the very first peer sending us data is synced to a lower height than ourselves.
Diffstat (limited to 'src/cryptonote_basic/cryptonote_basic_impl.cpp')
0 files changed, 0 insertions, 0 deletions