Use DeadlineTimer in UniqueNodeList

This commit is contained in:
Vinnie Falco
2013-07-10 08:36:52 -07:00
parent bca90f2110
commit 33bb2f6887
11 changed files with 1755 additions and 1686 deletions

View File

@@ -2492,13 +2492,13 @@ Json::Value RPCHandler::doUnlAdd (Json::Value params, LoadType* loadType, Scoped
if (raNodePublic.setNodePublic (strNode))
{
getApp().getUNL ().nodeAddPublic (raNodePublic, IUniqueNodeList::vsManual, strComment);
getApp().getUNL ().nodeAddPublic (raNodePublic, UniqueNodeList::vsManual, strComment);
return "adding node by public key";
}
else
{
getApp().getUNL ().nodeAddDomain (strNode, IUniqueNodeList::vsManual, strComment);
getApp().getUNL ().nodeAddDomain (strNode, UniqueNodeList::vsManual, strComment);
return "adding node by domain";
}