set relay to false on spv.
This commit is contained in:
parent
08320fd3fb
commit
4c1a3761af
@ -32,7 +32,9 @@ function Pool(options) {
|
||||
network.set(this.options.network);
|
||||
|
||||
this.options.fullNode = !!this.options.fullNode;
|
||||
this.options.relay = this.options.relay !== false;
|
||||
this.options.relay = this.options.relay == null
|
||||
? (this.options.fullNode ? true : false)
|
||||
: this.options.relay;
|
||||
this.storage = this.options.storage;
|
||||
this.destroyed = false;
|
||||
this.size = options.size || 32;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user