Now supports EIP-712 filtering with missing chain id & contract address
This commit is contained in:
@@ -52,6 +52,10 @@ bool eip712_context_init(void) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Since they are optional, they might not be provided by the JSON data
|
||||
explicit_bzero(eip712_context->contract_addr, sizeof(eip712_context->contract_addr));
|
||||
eip712_context->chain_id = 0;
|
||||
|
||||
struct_state = NOT_INITIALIZED;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user