Add max and min values and restrict bounds

This commit is contained in:
pscott
2021-04-15 16:19:12 +02:00
parent 9876999b8d
commit 99950a396c
2 changed files with 4 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ typedef enum rlpTxField_e {
TX_RLP_DONE
} rlpTxField_e;
#define MIN_TX_TYPE 0x00
#define MAX_TX_TYPE 0x7f
// EIP 2718 TransactionType
typedef enum txType_e {
LEGACY_TX,