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:
Dimitrios Siganos 2023-02-15 01:49:01 +00:00 committed by GitHub
commit 5425c44d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)