Browse Source

fix: misspelled function name in code sample

A dash is missing in echo number function name
feat/shiki-twoslash-rehype
Muhammad Shiraz 4 years ago
committed by Patrick Gray
parent
commit
5ee225609c
  1. 2
      src/pages/write-smart-contracts/hello-world-tutorial.md

2
src/pages/write-smart-contracts/hello-world-tutorial.md

@ -98,7 +98,7 @@ The function doesn't take any parameters and simply returns "hello world" using
The second function is a [read-only function][] called `echo-number`. The second function is a [read-only function][] called `echo-number`.
```clarity ```clarity
(define-read-only (echo number (val int)) (define-read-only (echo-number (val int))
(ok val)) (ok val))
``` ```

Loading…
Cancel
Save