Skip to content

Commit 097f27b

Browse files
author
cortze
committed
fix typo wrong network init for DHT
1 parent abc38ee commit 097f27b

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

DAS/simulator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ def initDHTNetwork(self):
193193
# add the initialized DHTClient back to the Validator
194194
for val in self.validators:
195195
val.addDHTClient(self.DHTNetwork.nodestore.get_node(val.ID))
196-
197196
# the network should be ready to go :)
198197

199198
def initLogger(self):

study.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def runOnce(config, shape, execID):
3636
sim.logger.info("Shape: %s ... Block Available: %d in %d steps" % (str(sim.shape.__dict__), result.blockAvailable, len(result.missingVector)), extra=sim.format)
3737
if config.dhtSimulation:
3838
sim.logger.info("Shape: %s ... Setting up DHT Network" % (str(sim.shape.__dict__)), extra=sim.format)
39-
sim.initNetwork()
39+
sim.initDHTNetworks()
4040
sim.runBlockPublicationToDHT()
4141
sim.logger.info("Shape: %s ... Finished up Block propagation on the DHT Network" % (str(sim.shape.__dict__)), extra=sim.format)
4242
# TODO: append the DHT results to the previous results

0 commit comments

Comments
 (0)