Skip to content

Commit 8c2790c

Browse files
committed
carrot_impl: remove Boost serialization definitions
1 parent 6adb22f commit 8c2790c

File tree

2 files changed

+2
-214
lines changed

2 files changed

+2
-214
lines changed

src/carrot_impl/carrot_boost_serialization.h

Lines changed: 0 additions & 211 deletions
This file was deleted.

src/cryptonote_basic/cryptonote_boost_serialization.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include <boost/serialization/is_bitwise_serializable.hpp>
3939
#include <boost/archive/portable_binary_iarchive.hpp>
4040
#include <boost/archive/portable_binary_oarchive.hpp>
41-
#include "carrot_impl/carrot_boost_serialization.h"
4241
#include "cryptonote_basic.h"
4342
#include "difficulty.h"
4443
#include "common/unordered_containers_boost_serialization.h"
@@ -102,8 +101,8 @@ namespace boost
102101
inline void serialize(Archive &a, cryptonote::txout_to_carrot_v1 &x, const boost::serialization::version_type ver)
103102
{
104103
a & x.key;
105-
a & x.view_tag;
106-
a & x.encrypted_janus_anchor;
104+
a & x.view_tag.bytes;
105+
a & x.encrypted_janus_anchor.bytes;
107106
}
108107

109108

0 commit comments

Comments
 (0)