Skip to content

Commit

Permalink
Small updates to iota-move-raffle-tutorial 4
Browse files Browse the repository at this point in the history
  • Loading branch information
teunvw14 committed Dec 25, 2024
1 parent 3fdbba5 commit a15349c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/posts/iota-move-raffle-tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ module raffle::raffle {
}
```

Make sure to add the error code at the top of your module `const ERaffleAlreadyResolved: u64 = 3;`. We will add a few more of these error codes. It's a good habit to add meaningful error codes to your Move smart contracts. They help users know what exactly went wrong when a transaction fails.
Make sure to add the error code at the top of your module `const ERaffleAlreadyResolved: u64 = 0;`. We will add a few more of these error codes. It's a good habit to add meaningful error codes to your Move smart contracts. They help users know what exactly went wrong when a transaction fails.

## Resolving raffles: picking a winner

Expand Down

0 comments on commit a15349c

Please sign in to comment.