Fix compiler error: call of overloaded 'Pair(const char [9], time_t)' is ambiguous
This commit is contained in:
@@ -1028,7 +1028,7 @@ UniValue getsnapshot(const UniValue& params, bool fHelp)
|
||||
}
|
||||
result = komodo_snapshot();
|
||||
if ( result.size() > 0 ) {
|
||||
result.push_back(Pair("end_time", time(NULL)));
|
||||
result.push_back(Pair("end_time", (int) time(NULL)));
|
||||
} else {
|
||||
result.push_back(Pair("error", "no addressindex"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user