From 9e6610c56a2c7bc18c01668f6c9f84c7e569e362 Mon Sep 17 00:00:00 2001 From: pscott Date: Thu, 15 Apr 2021 15:42:46 +0200 Subject: [PATCH] Fix debug messages --- src_common/ethUstream.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src_common/ethUstream.c b/src_common/ethUstream.c index 20d96d8..023dc45 100644 --- a/src_common/ethUstream.c +++ b/src_common/ethUstream.c @@ -265,7 +265,7 @@ static parserStatus_e processTxInternal(txContext_t *context) { } // EIP 2718: TransactionType might be present before the TransactionPayload. if (*context->workBuffer > 0x00 && *context->workBuffer < 0x7f) { - PRINTF("TX TYPE: %u\n", context->txType); + PRINTF("TX TYPE: %u\n", *context->workBuffer); if (*context->workBuffer <= MIN_TX_TYPE || *context->workBuffer >= MAX_TX_TYPE) { PRINTF("Transaction type not supported\n"); return USTREAM_FAULT; @@ -274,7 +274,6 @@ static parserStatus_e processTxInternal(txContext_t *context) { context->workBuffer++; } if (!context->processingField) { - PRINTF("PROCESSING FIELD\n"); bool canDecode = false; uint32_t offset; while (context->commandLength != 0) {