minor: function name.
This commit is contained in:
parent
6ae273f84d
commit
4984c306b9
@ -81,7 +81,7 @@ Block.prototype.render = function render() {
|
||||
return bcoin.protocol.framer.block(this, this.subtype);
|
||||
};
|
||||
|
||||
Block.prototype.size = function render() {
|
||||
Block.prototype.size = function size() {
|
||||
return this._size || this.render().length;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user