|
@ -44,10 +44,11 @@ VersionChecker::VersionChecker(string const& _dbPath): |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
auto protocolVersion = (unsigned)status[0]; |
|
|
auto protocolVersion = (unsigned)status[0]; |
|
|
|
|
|
(void)protocolVersion; |
|
|
auto minorProtocolVersion = (unsigned)status[1]; |
|
|
auto minorProtocolVersion = (unsigned)status[1]; |
|
|
auto databaseVersion = (unsigned)status[2]; |
|
|
auto databaseVersion = (unsigned)status[2]; |
|
|
m_action = |
|
|
m_action = |
|
|
protocolVersion != eth::c_protocolVersion || databaseVersion != c_databaseVersion ? |
|
|
databaseVersion != c_databaseVersion ? |
|
|
WithExisting::Kill |
|
|
WithExisting::Kill |
|
|
: minorProtocolVersion != eth::c_minorProtocolVersion ? |
|
|
: minorProtocolVersion != eth::c_minorProtocolVersion ? |
|
|
WithExisting::Verify |
|
|
WithExisting::Verify |
|
|