Skip to content

Commit

Permalink
protocol: clear regtest and simnet seeds
Browse files Browse the repository at this point in the history
Reduces console spam when only a single node is running on regtest/simnet networks
  • Loading branch information
rithvikvibhu committed Dec 26, 2020
1 parent a1409dc commit 19308ef
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/protocol/networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,10 +727,7 @@ const regtest = {};

regtest.type = 'regtest';

regtest.seeds = [
'127.0.0.1',
'aorsxa4ylaacshipyjkfbvzfkh3jhh4yowtoqdt64nzemqtiw2whk@127.0.0.1'
];
regtest.seeds = [];

regtest.magic = genesis.regtest.magic;

Expand Down Expand Up @@ -873,10 +870,7 @@ const simnet = {};

simnet.type = 'simnet';

simnet.seeds = [
'127.0.0.1',
'aorsxa4ylaacshipyjkfbvzfkh3jhh4yowtoqdt64nzemqtiw2whk@127.0.0.1'
];
simnet.seeds = [];

simnet.magic = genesis.simnet.magic;

Expand Down

0 comments on commit 19308ef

Please sign in to comment.