node: pass headers option to pool.
This commit is contained in:
parent
cf949569ae
commit
b91d0cd9f1
@ -123,6 +123,7 @@ function FullNode(options) {
|
||||
proxyServer: this.options.proxyServer,
|
||||
preferredSeed: this.options.preferredSeed,
|
||||
ignoreDiscovery: this.options.ignoreDiscovery,
|
||||
headers: this.options.headers,
|
||||
port: this.options.port,
|
||||
spv: false
|
||||
});
|
||||
|
||||
@ -76,6 +76,7 @@ function SPVNode(options) {
|
||||
identityKey: this.options.identityKey,
|
||||
maxPeers: this.options.maxPeers,
|
||||
ignoreDiscovery: this.options.ignoreDiscovery,
|
||||
headers: this.options.headers,
|
||||
selfish: true,
|
||||
spv: true
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user