diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-15 23:37:13 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:28:37 +0100 |
| commit | dc4aad7eb5fffa450d4c5eb094cf962e45b2f43a (patch) | |
| tree | e8fc99783d63582ff026adee2584478b0e799933 /src/cryptonote_core/cryptonote_boost_serialization.h | |
| parent | 211d1db7621ca1a7f98de31b584be3edd7aa95ca (diff) | |
| download | monzero-core-dc4aad7eb5fffa450d4c5eb094cf962e45b2f43a.tar.gz monzero-core-dc4aad7eb5fffa450d4c5eb094cf962e45b2f43a.tar.xz monzero-core-dc4aad7eb5fffa450d4c5eb094cf962e45b2f43a.zip | |
add rct to the protocol
It is not yet constrained to a fork, so don't use on the real network
or you'll be orphaned or rejected.
Diffstat (limited to 'src/cryptonote_core/cryptonote_boost_serialization.h')
| -rw-r--r-- | src/cryptonote_core/cryptonote_boost_serialization.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_boost_serialization.h b/src/cryptonote_core/cryptonote_boost_serialization.h index 6a6ff5a7d..6eeb66ec8 100644 --- a/src/cryptonote_core/cryptonote_boost_serialization.h +++ b/src/cryptonote_core/cryptonote_boost_serialization.h @@ -148,7 +148,10 @@ namespace boost a & x.vin; a & x.vout; a & x.extra; - a & x.signatures; + if (x.version == 1) + a & x.signatures; + else + a & x.rct_signatures; } |
