Fix debug messages

This commit is contained in:
pscott
2021-04-15 15:42:46 +02:00
parent 65ac116e91
commit 9e6610c56a

View File

@@ -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) {