fix orphan parsing.
This commit is contained in:
parent
7bf912f570
commit
f5a0b9e284
@ -316,7 +316,7 @@ TXPool.prototype._add = function add(tx, callback, force) {
|
||||
some = false;
|
||||
|
||||
try {
|
||||
orphans = JSON.parse(new Buffer(orphans, 'ascii'));
|
||||
orphans = JSON.parse(orphans.toString('ascii'));
|
||||
} catch (e) {
|
||||
return done(e);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user