migrate: drop next hash for sentinel hash in chaindb2to3.

This commit is contained in:
Christopher Jeffrey 2017-07-21 23:03:41 -07:00
parent 63ff27d5d6
commit 42fe56459e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -404,6 +404,9 @@ async function finalize() {
batch.del(JOURNAL_KEY);
batch.put('V', data);
// This has bugged me for a while.
batch.del(pair('n', encoding.ZERO_HASH));
if (shouldPrune) {
let data = await db.get('O');
let flags;