block/worker: misc fixes.

This commit is contained in:
Christopher Jeffrey 2016-12-04 18:59:49 -08:00
parent f45ce12bec
commit 1d5bcc5918
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ Block.prototype.getRaw = function getRaw() {
if (this.mutable) {
assert(!this._raw);
return this.frameNormal();
return this.frameWitness();
}
if (this._raw) {

View File

@ -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;