Remove wrong and needless code from test system.block_sequence (#4129)
The code is wrong because preconfigured_peers does not support specifying port numbers and it appears to be needless anyway.
This commit is contained in:
parent
92e0b64c62
commit
5425c44d11
1 changed files with 0 additions and 1 deletions
|
|
@ -2135,7 +2135,6 @@ TEST (system, block_sequence)
|
|||
flags.disable_max_peers_per_ip = true;
|
||||
flags.disable_ongoing_bootstrap = true;
|
||||
auto root = system.add_node (config, flags);
|
||||
config.preconfigured_peers.push_back ("::ffff:127.0.0.1:" + std::to_string (root->network.endpoint ().port ()));
|
||||
auto wallet = root->wallets.items.begin ()->second;
|
||||
wallet->insert_adhoc (nano::dev::genesis_key.prv);
|
||||
for (auto rep : reps)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue