Just return files from listDirectory() since that is all we need, fix network request on network restore logic, and remember saved networks in service/One
This commit is contained in:
parent
29a2175b7a
commit
347e98dcd2
4 changed files with 20 additions and 16 deletions
|
@ -67,6 +67,7 @@ Network::Network(const RuntimeEnvironment *renv,uint64_t nwid) :
|
|||
std::string conf(RR->node->dataStoreGet(confn));
|
||||
if (conf.length()) {
|
||||
setConfiguration(Dictionary(conf),false);
|
||||
_lastConfigUpdate = 0; // we still want to re-request a new config from the network
|
||||
gotConf = true;
|
||||
}
|
||||
} catch ( ... ) {} // ignore invalids, we'll re-request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue