From 82242cae3bb6313ee10df20570e4c14627828033 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 26 Feb 2017 23:39:29 +0100 Subject: 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. --- src/gns/plugin_block_gns.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gns/plugin_block_gns.c') diff --git a/src/gns/plugin_block_gns.c b/src/gns/plugin_block_gns.c index 2ef48f094..558ded6f4 100644 --- a/src/gns/plugin_block_gns.c +++ b/src/gns/plugin_block_gns.c @@ -98,6 +98,7 @@ block_plugin_gns_create_group (void *cls, * be done with the "get_key" function. * * @param cls closure + * @param ctx block context * @param type block type * @param bg block group to use for evaluation * @param eo control flags @@ -110,6 +111,7 @@ block_plugin_gns_create_group (void *cls, */ static enum GNUNET_BLOCK_EvaluationResult block_plugin_gns_evaluate (void *cls, + struct GNUNET_BLOCK_Context *ctx, enum GNUNET_BLOCK_Type type, struct GNUNET_BLOCK_Group *bg, enum GNUNET_BLOCK_EvaluationOptions eo, -- cgit v1.2.3