summaryrefslogtreecommitdiff
path: root/node/Network.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-08 11:35:55 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-08 11:35:55 -0700
commit0d386f1c3119b869197bafd5f2ad75ba2179850f (patch)
tree492eb9d67b1e57f9898022ec883ed142e7b15d47 /node/Network.cpp
parent85b90f122a826510491e15a1bfd6c1fe75dfe069 (diff)
downloadinfinitytier-0d386f1c3119b869197bafd5f2ad75ba2179850f.tar.gz
infinitytier-0d386f1c3119b869197bafd5f2ad75ba2179850f.zip
Add a bit of useful testing instrumentation to SqliteNetworkController.
Diffstat (limited to 'node/Network.cpp')
-rw-r--r--node/Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 331b37a2..f8130d76 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -240,7 +240,7 @@ void Network::requestConfiguration()
if (RR->localNetworkController) {
SharedPtr<NetworkConfig> nconf(config2());
Dictionary newconf;
- switch(RR->localNetworkController->doNetworkConfigRequest(InetAddress(),RR->identity,RR->identity,_id,Dictionary(),(nconf) ? nconf->revision() : (uint64_t)0,newconf)) {
+ switch(RR->localNetworkController->doNetworkConfigRequest(InetAddress(),RR->identity,RR->identity,_id,Dictionary(),newconf)) {
case NetworkController::NETCONF_QUERY_OK:
this->setConfiguration(newconf,true);
return;