diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-03-11 08:30:08 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2020-03-30 15:36:14 -0700 |
commit | 769ee5fa0011ae658770586442715452a656559d (patch) | |
tree | b9ad8eaa88b5c33f2ae5dd2e79ed50e313125a11 /src/netaddress.h | |
parent | 7e1fc03b185d89f21da1bee2f8b7900d65745b30 (diff) |
Merge BigEndian functionality into CustomUintFormatter
Diffstat (limited to 'src/netaddress.h')
-rw-r--r-- | src/netaddress.h | 2 |
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)); } }; |