aboutsummaryrefslogtreecommitdiffstats
path: root/whisperTopic.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2015-01-07 09:26:14 +0800
committersubtly <subtly@users.noreply.github.com>2015-01-07 09:26:14 +0800
commit7f4ca13035cc1c08bdbdecc1e221e1387b614ba2 (patch)
treefd7768d5db7704d652f6b4e7ae58678f20e21a3b /whisperTopic.cpp
parent9a034e8998b5e70acbff65e0fac3ae0c44703714 (diff)
downloaddexon-solidity-7f4ca13035cc1c08bdbdecc1e221e1387b614ba2.tar.gz
dexon-solidity-7f4ca13035cc1c08bdbdecc1e221e1387b614ba2.tar.zst
dexon-solidity-7f4ca13035cc1c08bdbdecc1e221e1387b614ba2.zip
Pass 2 integrating node table. Pruning and merging old node lifecycle logic with new.
Begin moving node identification and authentication into Host so session can be directly-constructed with NodeInfo and is not created until after authentication. Require session to be passed a valid node.
Diffstat (limited to 'whisperTopic.cpp')
-rw-r--r--whisperTopic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisperTopic.cpp b/whisperTopic.cpp
index 79adf3d6..8ecabde9 100644
--- a/whisperTopic.cpp
+++ b/whisperTopic.cpp
@@ -72,7 +72,7 @@ BOOST_AUTO_TEST_CASE(topic)
this_thread::sleep_for(chrono::milliseconds(500));
ph.start();
this_thread::sleep_for(chrono::milliseconds(500));
- ph.connect("127.0.0.1", 50303);
+ ph.connect(NodeId(), "127.0.0.1", 50303);
KeyPair us = KeyPair::create();
for (int i = 0; i < 10; ++i)