finding block of specific timestamp or first block after the timestamp

This commit is contained in:
moneroexamples 2016-11-23 14:24:05 +08:00
parent fe93681baf
commit 438c0627fa
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ namespace xmreg
// set cursor the the first item
if (cr.get(key_to_find, info_val, MDB_SET))
if (cr.get(key_to_find, info_val, MDB_SET_RANGE))
{
out_infos.push_back(*(info_val.data<output_info>()));