diff options
| author | Pieter Wuille <[email protected]> | 2016-06-13 16:01:21 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-13 17:40:16 +0200 |
| commit | ecd7fd37c888f8ebc64cf3d92272975b37ae54ca (patch) | |
| tree | f965abcecc43584d8f9f9a42629df169fdcc249e /src/main.cpp | |
| parent | Introduce enum ServiceFlags for service flags (diff) | |
| download | discoin-ecd7fd37c888f8ebc64cf3d92272975b37ae54ca.tar.xz discoin-ecd7fd37c888f8ebc64cf3d92272975b37ae54ca.zip | |
Introduce REQUIRED_SERVICES constant
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c1569545b..62012bf56 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4787,7 +4787,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, { boost::this_thread::interruption_point(); - if (!(addr.nServices & NODE_NETWORK)) + if ((addr.nServices & REQUIRED_SERVICES) != REQUIRED_SERVICES) continue; if (addr.nTime <= 100000000 || addr.nTime > nNow + 10 * 60) |