Skip to content

Commit

Permalink
Merge pull request #7 from aorumbayev/aorumbayev/contract-vulnerability
Browse files Browse the repository at this point in the history
Fixing opt-in exploit vulnerability in manager contract
  • Loading branch information
sebastiangula authored Aug 23, 2021
2 parents 8dc6335 + b4cf404 commit 86ec4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/nft_market/contracts/assets/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self):
def on_register(self):
return Seq(
[
# Set default values for user
Assert(Global.group_size() == Int(1)),
self.bid_price.put(Int(0)),
Return(Int(1)),
]
Expand Down

1 comment on commit 86ec4ef

@vercel
Copy link

@vercel vercel bot commented on 86ec4ef Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.