From e76a7aa5cac19183d60f5c0e087e1db49993806b Mon Sep 17 00:00:00 2001 From: pscott Date: Thu, 22 Apr 2021 14:08:02 +0200 Subject: [PATCH] Clang please --- src_plugins/eth2/eth2_plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src_plugins/eth2/eth2_plugin.c b/src_plugins/eth2/eth2_plugin.c index 378bdc3..de8bac9 100644 --- a/src_plugins/eth2/eth2_plugin.c +++ b/src_plugins/eth2/eth2_plugin.c @@ -177,7 +177,9 @@ void eth2_plugin_call(int message, void *parameters) { if (eth2WithdrawalIndex > INDEX_MAX) { PRINTF("eth2 plugin: withdrawal index is too big\n"); PRINTF("Got %u which is higher than INDEX_MAX (%u)\n", - eth2WithdrawalIndex, INDEX_MAX); context->valid = 0; + eth2WithdrawalIndex, + INDEX_MAX); + context->valid = 0; } withdrawalKeyPath[2] = eth2WithdrawalIndex; withdrawalKeyPath[3] = WITHDRAWAL_KEY_PATH_4;