From 7e2185dfd63a56532d7ae5ff321ee376ebb31911 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 15 Jun 2016 17:44:07 -0700 Subject: [PATCH] serialize mempool entries properly. --- lib/bcoin/mempool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/mempool.js b/lib/bcoin/mempool.js index a1dd5d72..385493f7 100644 --- a/lib/bcoin/mempool.js +++ b/lib/bcoin/mempool.js @@ -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) {