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

rpc: Remove the need to include rpc/blockchain.cpp in order to put GetDifficulty under test #13288

Merged
merged 1 commit into from Jun 5, 2018

Commits on May 21, 2018

  1. Drop the chain argument to GetDifficulty

    This removes the need to include rpc/blockchain.cpp in order to put
    GetDifficulty under test. GetDifficulty was called in two ways:
    * with a guaranteed non-null blockindex
    * with no argument
    
    Change the latter case to be provided chainActive.Tip() explicitly.
    Empact committed May 21, 2018
    Copy the full SHA
    ebec731 View commit details
    Browse the repository at this point in the history