mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
ringdb: fix bug in blackballing
This commit is contained in:
parent
2425f27acd
commit
50813c103e
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ bool ringdb::blackball_worker(const std::vector<std::pair<uint64_t, uint64_t>> &
|
||||||
{
|
{
|
||||||
case BLACKBALL_BLACKBALL:
|
case BLACKBALL_BLACKBALL:
|
||||||
MDEBUG("Marking output " << output.first << "/" << output.second << " as spent");
|
MDEBUG("Marking output " << output.first << "/" << output.second << " as spent");
|
||||||
dbr = mdb_cursor_put(cursor, &key, &data, MDB_APPENDDUP);
|
dbr = mdb_cursor_put(cursor, &key, &data, MDB_NODUPDATA);
|
||||||
if (dbr == MDB_KEYEXIST)
|
if (dbr == MDB_KEYEXIST)
|
||||||
dbr = 0;
|
dbr = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue