Permalink
Browse files

dhtnode: default-initialize dht config

  • Loading branch information...
aberaud committed May 23, 2018
1 parent 59d129b commit 1fe9f2fdb1e8472c39813af9ef87b36726850a35
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/dhtnode.cpp
@@ -497,7 +497,7 @@ main(int argc, char **argv)
crt = dht::crypto::generateIdentity("DHT Node", ca_tmp);
}
dht::DhtRunner::Config config;
dht::DhtRunner::Config config {};
config.dht_config.node_config.network = params.network;
config.dht_config.node_config.maintain_storage = false;
config.dht_config.id = crt;

0 comments on commit 1fe9f2f

Please sign in to comment.