diff options
| author | practicalswift <[email protected]> | 2017-03-28 08:40:16 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-04-26 21:20:02 +0200 |
| commit | b51aaf1c42d9936ddbe8ec48a0d9b675221ab7ba (patch) | |
| tree | 97be0a701731d6c02e528c95b5023dbafc69d527 /src/netaddress.cpp | |
| parent | Merge #10270: Remove Clang workaround for Boost 1.46 (diff) | |
| download | discoin-b51aaf1c42d9936ddbe8ec48a0d9b675221ab7ba.tar.xz discoin-b51aaf1c42d9936ddbe8ec48a0d9b675221ab7ba.zip | |
Remove unused C++ code not covered by unit tests
Diffstat (limited to 'src/netaddress.cpp')
| -rw-r--r-- | src/netaddress.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp index ab07270f3..34a702986 100644 --- a/src/netaddress.cpp +++ b/src/netaddress.cpp @@ -179,12 +179,6 @@ bool CNetAddr::IsLocal() const return false; } -bool CNetAddr::IsMulticast() const -{ - return (IsIPv4() && (GetByte(3) & 0xF0) == 0xE0) - || (GetByte(15) == 0xFF); -} - bool CNetAddr::IsValid() const { // Cleanup 3-byte shifted addresses caused by garbage in size field |