From 0c00a841fa83f92ea8c240db8d3f3ebb51e6cfa4 Mon Sep 17 00:00:00 2001 From: Daniel Swann Date: Tue, 30 Apr 2024 18:15:27 -0400 Subject: [PATCH] Update escrow.charge.mdx (#432) Example was backwards. --- docs/scripting/trust_scripts/escrow.charge.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/scripting/trust_scripts/escrow.charge.mdx b/docs/scripting/trust_scripts/escrow.charge.mdx index 51c4fecc..32a834d1 100644 --- a/docs/scripting/trust_scripts/escrow.charge.mdx +++ b/docs/scripting/trust_scripts/escrow.charge.mdx @@ -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; } } ```