Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect usage of begin() when genesis block is requested in "protx diff" #2699

Merged
merged 2 commits into from
Feb 12, 2019

Commits on Feb 12, 2019

  1. Fix incorrect usage of begin() when genesis block is requested in "pr…

    …otx diff"
    
    .begin() on mapBlockIndex does NOT return the genesis block, but just the
    block with lowest hash.
    
    The fix is to use chainActive[0] to get the genesis block.
    codablock committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    3587e2d View commit details
    Browse the repository at this point in the history
  2. Update src/evo/simplifiedmns.cpp

    Co-Authored-By: codablock <ablock84@gmail.com>
    UdjinM6 and codablock committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    1c97366 View commit details
    Browse the repository at this point in the history