Skip to content

Commit

Permalink
chore: some small clean-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
novusnota committed Oct 28, 2024
1 parent 65ac87a commit e7f6e17
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion docs/scripts/check-cookbook-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { spawnSync } from 'node:child_process';
import { tmpdir } from 'node:os';
import {
mkdtempSync,
mkdtemp,
readFileSync,
readdirSync,
statSync,
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/book/message-mode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Alternatively, if you want to send the whole contract balance and destroy it imm
Here's how the latter example would look in code:

```tact
let to: Address = ...;
let to: Address = address("...");
let value: Int = ton("1");
send(SendParameters{
to: to,
Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/book/send.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ send(SendParameters{
Another example sends a message to the specified [`Address{:tact}`][p] with a `value` of $1$ TON and the `body` of a comment with a [`String{:tact}`][p] `"Hello, World!"{:tact}`:

```tact
let recipient: Address = ...;
let recipient: Address = address("...");
let value: Int = ton("1");
send(SendParameters{
// bounce is set to true by default
Expand All @@ -64,7 +64,7 @@ The [optional flag](/book/message-mode#optional-flags) `SendIgnoreErrors{:tact}`
To send a binary typed message you can use the following code:

```tact
let recipient: Address = ...;
let recipient: Address = address("...");
let value: Int = ton("1");
send(SendParameters{
// bounce is set to true by default
Expand Down
6 changes: 3 additions & 3 deletions docs/src/content/docs/ref/core-math.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ Returns `true{:tact}` if the signature is valid, `false{:tact}` otherwise.
Usage example:

```tact
let data: Slice = ...;
let signature: Slice = ...;
let publicKey: Int = ...;
let data: Slice = some_data;
let signature: Slice = some_signature;
let publicKey: Int = 42;
let check: Bool = checkSignature(data, signature, publicKey);
```
Expand Down

0 comments on commit e7f6e17

Please sign in to comment.