diff --git a/src_common/ethUstream.c b/src_common/ethUstream.c index 06a79d7..ba1223f 100644 --- a/src_common/ethUstream.c +++ b/src_common/ethUstream.c @@ -436,7 +436,7 @@ static parserStatus_e processTxInternal(txContext_t *context) { for (;;) { customStatus_e customStatus = CUSTOM_NOT_HANDLED; // EIP 155 style transaction - if (IS_PARSING_DONE(context)) { + if (PARSING_IS_DONE(context)) { return USTREAM_FINISHED; } // Old style transaction diff --git a/src_common/ethUstream.h b/src_common/ethUstream.h index 531750b..78b10cb 100644 --- a/src_common/ethUstream.h +++ b/src_common/ethUstream.h @@ -40,7 +40,7 @@ typedef customStatus_e (*ustreamProcess_t)(struct txContext_t *context); // First variant of every Tx enum. #define RLP_NONE 0 -#define IS_PARSING_DONE(ctx) \ +#define PARSING_IS_DONE(ctx) \ ((ctx->txType == LEGACY && ctx->currentField == LEGACY_RLP_DONE) || \ (ctx->txType == EIP2930 && ctx->currentField == EIP2930_RLP_DONE))