migrate: fix put call.
This commit is contained in:
parent
bbbe537574
commit
f02f5ee5d2
@ -190,7 +190,7 @@ var reserializeUndo = co(function* reserializeUndo() {
|
|||||||
injectCoin(undo.top(), Coin.fromReader(br));
|
injectCoin(undo.top(), Coin.fromReader(br));
|
||||||
}
|
}
|
||||||
|
|
||||||
batch.write(item.key, undo.toRaw());
|
batch.put(item.key, undo.toRaw());
|
||||||
|
|
||||||
if (++total % 10000 === 0)
|
if (++total % 10000 === 0)
|
||||||
console.log('Reserialized %d undo coins.', total);
|
console.log('Reserialized %d undo coins.', total);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user