Include start_time+end_time and correctly format amount

This commit is contained in:
Duke Leto
2018-07-17 22:31:06 +00:00
parent 6e74fd2578
commit 3eb535b8b4
3 changed files with 5 additions and 14 deletions

View File

@@ -1028,8 +1028,7 @@ UniValue getsnapshot(const UniValue& params, bool fHelp)
}
result = komodo_snapshot();
if ( result.size() > 0 ) {
// add timestamp, maybe block height?
result.push_back(Pair("time", time(NULL)));
result.push_back(Pair("end_time", time(NULL)));
} else {
result.push_back(Pair("error", "no addressindex"));
}