Skip to content

Commit

Permalink
Blockchain: match original function declaration from blockchain_storage
Browse files Browse the repository at this point in the history
  • Loading branch information
warptangent committed Feb 23, 2015
1 parent cd972bd commit 59305d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cryptonote_core/blockchain.cpp
Expand Up @@ -2288,7 +2288,7 @@ bool Blockchain::add_new_block(const block& bl_, block_verification_context& bvc
return handle_block_to_main_chain(bl, id, bvc);
}
//------------------------------------------------------------------
void Blockchain::check_against_checkpoints(checkpoints& points, bool enforce)
void Blockchain::check_against_checkpoints(const checkpoints& points, bool enforce)
{
const auto& pts = points.get_points();

Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/blockchain.h
Expand Up @@ -141,7 +141,7 @@ namespace cryptonote
void print_blockchain_index();
void print_blockchain_outs(const std::string& file);

void check_against_checkpoints(checkpoints& points, bool enforce);
void check_against_checkpoints(const checkpoints& points, bool enforce);
void set_enforce_dns_checkpoints(bool enforce);
bool update_checkpoints(const std::string& file_path, bool check_dns);

Expand Down

0 comments on commit 59305d3

Please sign in to comment.