fix fromRaw.
This commit is contained in:
parent
c559f97c26
commit
ad173d0f22
@ -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');
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user