Supports 32 bits chainId for signature and matching - the returned V will be wrong and has to be recomputed by the client
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
#define MAX_INT256 32
|
||||
#define MAX_ADDRESS 20
|
||||
#define MAX_V 2
|
||||
#define MAX_V 4
|
||||
|
||||
void initTx(txContext_t *context, cx_sha3_t *sha3, txContent_t *content,
|
||||
ustreamProcess_t customProcessor, void *extra) {
|
||||
|
||||
@@ -58,7 +58,7 @@ typedef struct txContent_t {
|
||||
txInt256_t value;
|
||||
uint8_t destination[20];
|
||||
uint8_t destinationLength;
|
||||
uint8_t v[2];
|
||||
uint8_t v[4];
|
||||
uint8_t vLength;
|
||||
} txContent_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user