mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 19:58:51 +00:00
Update serialization.h
1. Added VARINT_FIELD_N(t,f) macro required for tx_extra_merge_mining_tag serialization.
This commit is contained in:
parent
9b2d1bc4c2
commit
c0cf78a1d1
@ -93,7 +93,12 @@ inline bool do_serialize(Archive &ar, T &v)
|
|||||||
ar.serialize_varint(f); \
|
ar.serialize_varint(f); \
|
||||||
if (!ar.stream().good()) return false; \
|
if (!ar.stream().good()) return false; \
|
||||||
} while(0);
|
} while(0);
|
||||||
|
#define VARINT_FIELD_N(t, f) \
|
||||||
|
do { \
|
||||||
|
ar.tag(t); \
|
||||||
|
ar.serialize_varint(f); \
|
||||||
|
if (!ar.stream().good()) return false; \
|
||||||
|
} while(0);
|
||||||
namespace serialization {
|
namespace serialization {
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user