From e4d66535ed2f054c378979be8e076cefc1c48f62 Mon Sep 17 00:00:00 2001 From: pscott Date: Sat, 24 Apr 2021 12:15:32 +0200 Subject: [PATCH] Use equal for comparison with unsuccesful variant --- src/eth_plugin_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eth_plugin_handler.c b/src/eth_plugin_handler.c index f68eb7e..6fe6f61 100644 --- a/src/eth_plugin_handler.c +++ b/src/eth_plugin_handler.c @@ -123,7 +123,7 @@ int eth_plugin_call(uint8_t *contractAddress, int method, void *parameter) { pluginRO.txContent = &tmpContent.txContent; if (contractAddress == NULL) { - if (dataContext.tokenContext.pluginStatus < ETH_PLUGIN_RESULT_UNSUCCESSFUL) { + if (dataContext.tokenContext.pluginStatus <= ETH_PLUGIN_RESULT_UNSUCCESSFUL) { PRINTF("Cached plugin call but no plugin available\n"); return 0; }