mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-12-22 19:39:23 +00:00
Fix pows_version in check_pow (#108)
This commit is contained in:
parent
7a2c91313d
commit
139a5b9302
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ namespace db
|
|||
{
|
||||
cursor::pow cur = MONERO_UNWRAP(lmdb::open_cursor<cursor::close_pow>(txn, tbl));
|
||||
|
||||
MDB_val key = lmdb::to_val(blocks_version);
|
||||
MDB_val key = lmdb::to_val(pows_version);
|
||||
int err = mdb_cursor_get(cur.get(), &key, nullptr, MDB_SET);
|
||||
if (err)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue