aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/netaddress.h')
-rw-r--r--src/netaddress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.h b/src/netaddress.h
index b7381c1eb4..53d9c52a52 100644
--- a/src/netaddress.h
+++ b/src/netaddress.h
@@ -176,7 +176,7 @@ class CService : public CNetAddr
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action) {
READWRITE(ip);
- READWRITE(WrapBigEndian(port));
+ READWRITE(Using<BigEndianFormatter<2>>(port));
}
};