Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eth/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(
add_executable(eth ${sources})
target_link_libraries(
eth
PRIVATE ethereum ethashseal evm web3jsonrpc webthree devcore
PRIVATE ethereum ethashseal evm web3jsonrpc webthree devcore Boost::program_options
)

target_include_directories(eth PRIVATE ../utils)
Expand Down
3 changes: 2 additions & 1 deletion eth/MinerAux.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ class MinerCLI
BasicAuthority::init();
}

bool interpretOption(int& i, int argc, char** argv)
bool interpretOption(size_t& i, vector<string> const& argv)
{
size_t argc = argv.size();
string arg = argv[i];
if (arg == "--benchmark-warmup" && i + 1 < argc)
try {
Expand Down
Loading