diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-27 05:10:52 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-27 05:10:52 +0100 |
commit | ee3327de8fd04b2b8ce8692560c9f1d01a822baa (patch) | |
tree | 2c5e594ab5e123aa7b106cc04eb904de425ea04d /src/consensus/consensus_protocol.h | |
parent | 2d92ec0f27dbefef916e94f5d272a2ff72091c54 (diff) | |
download | gnunet-ee3327de8fd04b2b8ce8692560c9f1d01a822baa.tar.gz gnunet-ee3327de8fd04b2b8ce8692560c9f1d01a822baa.zip |
fix set element type problem, make consensus work
Diffstat (limited to 'src/consensus/consensus_protocol.h')
-rw-r--r-- | src/consensus/consensus_protocol.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/consensus/consensus_protocol.h b/src/consensus/consensus_protocol.h index fa445dc2e..e0002de56 100644 --- a/src/consensus/consensus_protocol.h +++ b/src/consensus/consensus_protocol.h | |||
@@ -123,6 +123,12 @@ struct ConsensusSizeElement | |||
123 | uint8_t sender_index; | 123 | uint8_t sender_index; |
124 | }; | 124 | }; |
125 | 125 | ||
126 | struct ConsensusStuffedElement | ||
127 | { | ||
128 | struct ConsensusElement ce GNUNET_PACKED; | ||
129 | struct GNUNET_HashCode rand GNUNET_PACKED; | ||
130 | }; | ||
131 | |||
126 | 132 | ||
127 | GNUNET_NETWORK_STRUCT_END | 133 | GNUNET_NETWORK_STRUCT_END |
128 | 134 | ||