aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2020-07-11 09:55:38 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-08-28 17:48:15 +0200
commitaaaa3fa9477eef9ea72e4a501d130c57b47b470a (patch)
tree5cb4db76123a10ff6ff2c24d1278a584eca04d40 /src/protocol.h
parent1c1a02bbd246101fd477b0897aef971b511b4241 (diff)
Replace READWRITEAS macro with AsBase wrapping function
Co-authored-by: Pieter Wuille <pieter@wuille.net>
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.h b/src/protocol.h
index ac4545c311..316b7a11f2 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -433,7 +433,7 @@ public:
}
// Invoke V1/V2 serializer for CService parent object.
OverrideStream<Stream> os(&s, s.GetType(), use_v2 ? ADDRV2_FORMAT : 0);
- SerReadWriteMany(os, ser_action, ReadWriteAsHelper<CService>(obj));
+ SerReadWriteMany(os, ser_action, AsBase<CService>(obj));
}
//! Always included in serialization. The behavior is unspecified if the value is not representable as uint32_t.