migrate: drop next hash for sentinel hash in chaindb2to3.
This commit is contained in:
parent
63ff27d5d6
commit
42fe56459e
@ -404,6 +404,9 @@ async function finalize() {
|
|||||||
batch.del(JOURNAL_KEY);
|
batch.del(JOURNAL_KEY);
|
||||||
batch.put('V', data);
|
batch.put('V', data);
|
||||||
|
|
||||||
|
// This has bugged me for a while.
|
||||||
|
batch.del(pair('n', encoding.ZERO_HASH));
|
||||||
|
|
||||||
if (shouldPrune) {
|
if (shouldPrune) {
|
||||||
let data = await db.get('O');
|
let data = await db.get('O');
|
||||||
let flags;
|
let flags;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user