serialize mempool entries properly.

This commit is contained in:
Christopher Jeffrey 2016-06-15 17:44:07 -07:00
parent 6303530c4f
commit 7e2185dfd6
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1601,7 +1601,7 @@ Mempool.prototype._addUnchecked = function _addUnchecked(entry, callback) {
batch = this.db.batch();
batch.put('t/' + hash, tx.toExtended());
batch.put('t/' + hash, entry.toRaw());
batch.put('m/' + pad32(entry.ts) + '/' + hash, DUMMY);
if (this.options.indexAddress) {