diff options
| author | Cory Fields <[email protected]> | 2016-04-17 18:34:32 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2016-09-08 12:24:06 -0400 |
| commit | 6c19d92361fe4afb26dfa5d48a0748b84bca6f12 (patch) | |
| tree | 30bcc560bc99a3f7ad0e258c5945810d5a8f419c /src/init.cpp | |
| parent | net: create generic functor accessors and move vNodes to CConnman (diff) | |
| download | discoin-6c19d92361fe4afb26dfa5d48a0748b84bca6f12.tar.xz discoin-6c19d92361fe4afb26dfa5d48a0748b84bca6f12.zip | |
net: move whitelist functions into CConnman
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 719b648c0..f618e5ccc 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1146,7 +1146,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) LookupSubNet(net.c_str(), subnet); if (!subnet.IsValid()) return InitError(strprintf(_("Invalid netmask specified in -whitelist: '%s'"), net)); - CNode::AddWhitelistedRange(subnet); + connman.AddWhitelistedRange(subnet); } } |