From 13a7a6fc79bad6c3365919a1560acea02e28bfa0 Mon Sep 17 00:00:00 2001 From: BTChip github Date: Mon, 27 Aug 2018 17:04:15 +0200 Subject: [PATCH] Fix contract deployment --- src_genericwallet/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_genericwallet/main.c b/src_genericwallet/main.c index 132903a..cf71287 100644 --- a/src_genericwallet/main.c +++ b/src_genericwallet/main.c @@ -1630,7 +1630,7 @@ customStatus_e customProcessor(txContext_t *context) { dataPresent = true; // If handling a new contract rather than a function call, abort immediately if (tmpContent.txContent.destinationLength == 0) { - return CUSTOM_HANDLED; + return CUSTOM_NOT_HANDLED; } if (context->currentFieldPos == 0) { // If handling the beginning of the data field, assume that the function selector is present