Proper cleanup after EIP712 message

This commit is contained in:
Alexandre Paillier
2022-05-12 17:30:26 +02:00
parent 0525f7cda8
commit c0eaf8d106
13 changed files with 88 additions and 13 deletions

View File

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