Skip to content

Commit

Permalink
get_payload_sync_data: fixed missing 'current_height += 1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg033 committed Feb 28, 2020
1 parent 91b4988 commit 5d0488f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cryptonote_protocol/cryptonote_protocol_handler.inl
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ namespace cryptonote
hshd.top_version = m_core.get_ideal_hard_fork_version(hshd.current_height);
hshd.cumulative_difficulty = m_core.get_block_cumulative_difficulty(hshd.current_height);
hshd.pruning_seed = m_core.get_blockchain_pruning_seed();
hshd.current_height += 1;
return true;
}
//------------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 5d0488f

Please sign in to comment.