Skip to content

Commit

Permalink
test: additional option for full and spv node init
Browse files Browse the repository at this point in the history
  • Loading branch information
braydonf committed Sep 19, 2018
1 parent b5c970a commit a21aa49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util/regtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function initFullNode(options) {
httpPort: options.ports.full.node,
maxOutbound: 1,
seeds: [],
memory: false,
memory: options.memory ? true : false,
plugins: [require('../../lib/wallet/plugin')],
env: {
'BCOIN_WALLETHTTPPORT': (options.ports.full.wallet).toString()
Expand All @@ -45,7 +45,7 @@ async function initSPVNode(options) {
maxOutbound: 1,
seeds: [],
nodes: [`127.0.0.1:${options.ports.full.p2p}`],
memory: false,
memory: options.memory ? true : false,
plugins: [require('../../lib/wallet/plugin')],
env: {
'BCOIN_WALLETHTTPPORT': (options.ports.spv.wallet).toString()
Expand Down

0 comments on commit a21aa49

Please sign in to comment.