Skip to content

Commit

Permalink
fix(ci): fix typos to make code snippets compile
Browse files Browse the repository at this point in the history
  • Loading branch information
novusnota committed Nov 10, 2024
1 parent 1a626a9 commit 5359968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/content/docs/cookbook/dexes/dedust.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct SwapParams {
message(0xea06185d) NativeSwap {
// Unique identifier used to trace transactions across multiple contracts and to prevent replay attacks
// Defaults to 0, which means Native Vault will handle this for us
queryId: Int as uint64;
queryId: Int as uint64 = 0;
// Toncoin amount for the swap
amount: Int as coins;
Expand All @@ -102,7 +102,7 @@ fun swapToncoinForUSDT(swapAmount: Int) {
body: NativeSwap{
amount: swapAmount,
// Address of the swap pool, which is the TON/USDT pair in this case
poolAddress: ("EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs"),
poolAddress: address("EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs"),
// Set of parameters relevant for the whole swap
swapParams: SwapParams{}, // use defaults
}.toCell(),
Expand Down

0 comments on commit 5359968

Please sign in to comment.