Skip to content

Commit

Permalink
fix(docs): fix spell
Browse files Browse the repository at this point in the history
  • Loading branch information
a-bahdanau committed Nov 25, 2024
1 parent d7c2ff6 commit 88cf2ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/content/docs/book/security-best-practices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ message Vote {
votes: Int as int32;
}
message(0xd53276db) Exceeses {}
message(0xd53276db) Excesses {}
contract Sample {
votes: Int as uint32 = 0;
Expand All @@ -361,7 +361,7 @@ contract Sample {
to: sender(),
value: 0,
mode: SendRemainingValue | SendIgnoreErrors,
body: Exceeses{}.toCell(),
body: Excesses{}.toCell(),
});
}
}
Expand All @@ -374,15 +374,15 @@ message Vote {
votes: Int as int32;
}
message(0xd53276db) Exceeses {}
message(0xd53276db) Excesses {}
contract Sample {
votes: Int as uint32 = 0;
receive(msg: Vote) {
self.votes += msg.votes;
self.notify(Exceeses{}.toCell());
self.notify(Excesses{}.toCell());
}
}
```
Expand Down Expand Up @@ -429,7 +429,7 @@ contract AnotherContract {
receive(msg: TakeMoney) {
require(sender() == self.oneContractAddress, "Invalid money provider!");
// do smth with money
// Money processing
}
}
```

0 comments on commit 88cf2ab

Please sign in to comment.