block/worker: misc fixes.
This commit is contained in:
parent
f45ce12bec
commit
1d5bcc5918
@ -130,7 +130,7 @@ Block.prototype.getRaw = function getRaw() {
|
||||
|
||||
if (this.mutable) {
|
||||
assert(!this._raw);
|
||||
return this.frameNormal();
|
||||
return this.frameWitness();
|
||||
}
|
||||
|
||||
if (this._raw) {
|
||||
|
||||
@ -210,7 +210,7 @@ Master.prototype.listen = function listen(env) {
|
||||
this.listening = true;
|
||||
this.color = +env.BCOIN_WORKER_ISTTY === 1;
|
||||
|
||||
Network.set(env.BCOIN_WORKER_NETWORK);
|
||||
this.set(env.BCOIN_WORKER_NETWORK);
|
||||
|
||||
util.log = this.log.bind(this);
|
||||
util.error = util.log;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user