node: pass headers option to pool.

This commit is contained in:
Christopher Jeffrey 2016-11-10 13:46:25 -08:00
parent cf949569ae
commit b91d0cd9f1
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,7 @@ function FullNode(options) {
proxyServer: this.options.proxyServer, proxyServer: this.options.proxyServer,
preferredSeed: this.options.preferredSeed, preferredSeed: this.options.preferredSeed,
ignoreDiscovery: this.options.ignoreDiscovery, ignoreDiscovery: this.options.ignoreDiscovery,
headers: this.options.headers,
port: this.options.port, port: this.options.port,
spv: false spv: false
}); });

View File

@ -76,6 +76,7 @@ function SPVNode(options) {
identityKey: this.options.identityKey, identityKey: this.options.identityKey,
maxPeers: this.options.maxPeers, maxPeers: this.options.maxPeers,
ignoreDiscovery: this.options.ignoreDiscovery, ignoreDiscovery: this.options.ignoreDiscovery,
headers: this.options.headers,
selfish: true, selfish: true,
spv: true spv: true
}); });