mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-09 23:25:16 -08:00
Fix pows_version in check_pow (#108)
This commit is contained in:
committed by
Lee *!* Clagett
parent
f242063422
commit
cde050baf1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user