Skip to content

Commit

Permalink
Merge pull request #12 from ulamlabs/initialize-scratch-slot
Browse files Browse the repository at this point in the history
Initialize ScratchSlot with zero
  • Loading branch information
sebastiangula authored Aug 23, 2021
2 parents 86ec4ef + d5e552b commit e5622ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/nft_market/contracts/assets/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def on_bid(self):
prev_bid = ScratchSlot()
return Seq(
[
is_valid_tx.store(Int(0)),
prev_bid.store(self.bid_price.get()),
# Increase bid_price
If(
Expand Down

1 comment on commit e5622ce

@vercel
Copy link

@vercel vercel bot commented on e5622ce 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.