Skip to content

Commit

Permalink
Update escrow.charge.mdx (#432)
Browse files Browse the repository at this point in the history
Example was backwards.
  • Loading branch information
danswann authored Apr 30, 2024
1 parent bfc74b4 commit 0c00a84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/scripting/trust_scripts/escrow.charge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ after the first run.
```js
function(context, args)
{
var smiley_face = ":)"
var smiley_face = ":)";
var result = #fs.escrow.charge({ cost: 1, is_unlim: false });
if( result ) {
return smiley_face
return result;
} else {
return result
return smiley_face;
}
}
```
Expand Down

0 comments on commit 0c00a84

Please sign in to comment.