From 704c34a5d5162d6723f9573324b25448a0005317 Mon Sep 17 00:00:00 2001 From: pscott Date: Wed, 21 Apr 2021 17:15:43 +0200 Subject: [PATCH] Rename to PARSING_IS_DONE --- src_common/ethUstream.c | 2 +- src_common/ethUstream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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))