diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:39:29 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:39:29 +0100 |
commit | 82242cae3bb6313ee10df20570e4c14627828033 (patch) | |
tree | c628b5323c1ec8cbf0915e04bb7a1fa7864d7ea9 /src/block/block.c | |
parent | cc8f37a834298d95c233769d19eb9cd17e3dbcfd (diff) | |
download | gnunet-82242cae3bb6313ee10df20570e4c14627828033.tar.gz gnunet-82242cae3bb6313ee10df20570e4c14627828033.zip |
add validation for inner consensus element
The nested block validation requires the block context, and thus the
evaluate callback not also receives the block context.
Diffstat (limited to 'src/block/block.c')
-rw-r--r-- | src/block/block.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block/block.c b/src/block/block.c index 23caacd38..d6e61acf6 100644 --- a/src/block/block.c +++ b/src/block/block.c | |||
@@ -351,6 +351,7 @@ GNUNET_BLOCK_evaluate (struct GNUNET_BLOCK_Context *ctx, | |||
351 | if (NULL == plugin) | 351 | if (NULL == plugin) |
352 | return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; | 352 | return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; |
353 | return plugin->evaluate (plugin->cls, | 353 | return plugin->evaluate (plugin->cls, |
354 | ctx, | ||
354 | type, | 355 | type, |
355 | group, | 356 | group, |
356 | eo, | 357 | eo, |