fix fromRaw.

This commit is contained in:
Christopher Jeffrey 2016-02-23 21:17:08 -08:00
parent c559f97c26
commit ad173d0f22

View File

@ -563,7 +563,7 @@ Block._fromRaw = function _fromRaw(data, enc) {
}; };
Block.fromRaw = function fromRaw(data, enc) { Block.fromRaw = function fromRaw(data, enc) {
return new Block(Block._fromRaw(data), 'block'); return new Block(Block._fromRaw(data, enc), 'block');
}; };
/** /**