Proper cleanup after EIP712 message
This commit is contained in:
@@ -147,7 +147,6 @@ static bool path_depth_list_pop(void)
|
||||
memcpy(tmpCtx.messageSigningContext712.messageHash,
|
||||
shash,
|
||||
KECCAK256_HASH_BYTESIZE);
|
||||
mem_reset();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -573,3 +572,8 @@ bool path_init(void)
|
||||
}
|
||||
return path_struct != NULL;
|
||||
}
|
||||
|
||||
void path_deinit(void)
|
||||
{
|
||||
path_struct = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user