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