Rename to PARSING_IS_DONE

This commit is contained in:
pscott
2021-04-21 17:15:43 +02:00
parent cac2b95136
commit 704c34a5d5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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