mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Simplify code for CSubnet
Simplify the code by using CAddress.ip directly, instead of the reversed GetByte() semantics.
This commit is contained in:
@@ -100,6 +100,8 @@ class CNetAddr
|
||||
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
||||
READWRITE(FLATDATA(ip));
|
||||
}
|
||||
|
||||
friend class CSubNet;
|
||||
};
|
||||
|
||||
class CSubNet
|
||||
|
||||
Reference in New Issue
Block a user