From f2073202547f17005817187954101820e679d2b3 Mon Sep 17 00:00:00 2001 From: Alex Graebe Date: Thu, 16 Apr 2020 09:15:22 -0700 Subject: [PATCH] fixing formatting --- _core/smart/tutorial.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_core/smart/tutorial.md b/_core/smart/tutorial.md index 567c6631..76784791 100644 --- a/_core/smart/tutorial.md +++ b/_core/smart/tutorial.md @@ -89,10 +89,12 @@ Now, let's have a look at a Clarity smart contract and get familiar with the bas ```cl (define-public (say-hi) - (ok "hello world")) + (ok "hello world") + ) (define-public (echo-number (val int)) - (ok val)) + (ok val) + ) ``` On the first line, a new public method `say-hi` is declared. To create private functions, you would use the `define-private` function. Note that only public functions can be called from outside e.g., through other smart contracts.