migrate: fix put call.

This commit is contained in:
Christopher Jeffrey 2017-01-18 17:05:51 -08:00
parent bbbe537574
commit f02f5ee5d2
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -190,7 +190,7 @@ var reserializeUndo = co(function* reserializeUndo() {
injectCoin(undo.top(), Coin.fromReader(br));
}
batch.write(item.key, undo.toRaw());
batch.put(item.key, undo.toRaw());
if (++total % 10000 === 0)
console.log('Reserialized %d undo coins.', total);