aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2023-09-11 18:36:11 +1000
committerAnthony Towns <aj@erisian.com.au>2023-09-14 10:25:26 +1000
commit5e5c8f86b60a8018e8801fb44bbe56ce97d9deef (patch)
treee5e5dcce04fc23c66f9b0102899eca89bb70a7aa /src/protocol.h
parent33203f59b482bddfe0bbe7d497cb8731ce8334a4 (diff)
serialize: add SER_PARAMS_OPFUNC
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index a7ca0c6f3e..e1caba766f 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -396,6 +396,7 @@ public:
};
struct SerParams : CNetAddr::SerParams {
const Format fmt;
+ SER_PARAMS_OPFUNC
};
static constexpr SerParams V1_NETWORK{{CNetAddr::Encoding::V1}, Format::Network};
static constexpr SerParams V2_NETWORK{{CNetAddr::Encoding::V2}, Format::Network};