AdChain / AdChainRegistry

adChain registry smart contracts
Apache License 2.0
30 stars 10 forks source link

Listing cannot exit if it's never been challenged #5

Closed skmgoldin closed 7 years ago

skmgoldin commented 7 years ago

The check in the exit function should be require(listing.challengeID == 0 || challengeMap[listing.challengeID].resolved);