This commit is contained in:
Christopher Jeffrey 2016-06-12 23:53:36 -07:00
parent b301fe5def
commit e8ee4d3c18
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);
};
/**