minor.
This commit is contained in:
parent
b301fe5def
commit
e8ee4d3c18
@ -189,9 +189,7 @@ Coin.parseRaw = function parseRaw(data, enc) {
|
|||||||
if (enc === 'hex')
|
if (enc === 'hex')
|
||||||
data = new Buffer(data, 'hex');
|
data = new Buffer(data, 'hex');
|
||||||
|
|
||||||
data = bcoin.protocol.parser.parseCoin(data, false);
|
return bcoin.protocol.parser.parseCoin(data, false);
|
||||||
|
|
||||||
return data;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -232,9 +230,7 @@ Coin.parseExtended = function parseExtended(data, enc) {
|
|||||||
if (enc === 'hex')
|
if (enc === 'hex')
|
||||||
data = new Buffer(data, 'hex');
|
data = new Buffer(data, 'hex');
|
||||||
|
|
||||||
data = bcoin.protocol.parser.parseCoin(data, true);
|
return bcoin.protocol.parser.parseCoin(data, true);
|
||||||
|
|
||||||
return data;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user