Fixes #52.
This fix adds a new prevOwner field in an exit which allows us to have the necessary information in each challenge case when verifying the origin of a challenge.
We can try discussing ways this can become cleaner.
The first exploit commit illustrates the issue.
Fixes #52. This fix adds a new
prevOwner
field in an exit which allows us to have the necessary information in each challenge case when verifying the origin of a challenge.We can try discussing ways this can become cleaner. The first exploit commit illustrates the issue.