fix orphan parsing.

This commit is contained in:
Christopher Jeffrey 2016-03-02 03:46:21 -08:00
parent 7bf912f570
commit f5a0b9e284

View File

@ -316,7 +316,7 @@ TXPool.prototype._add = function add(tx, callback, force) {
some = false; some = false;
try { try {
orphans = JSON.parse(new Buffer(orphans, 'ascii')); orphans = JSON.parse(orphans.toString('ascii'));
} catch (e) { } catch (e) {
return done(e); return done(e);
} }