Skip to content

Commit

Permalink
formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwaits committed Feb 10, 2025
1 parent 9263a80 commit cf3bd94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions content/_recipes/create-sha256-hash-clarity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ that can be created in javascript as well.
const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea
```

```Clarity
```clarity
;; vote
(define-map votes principal (buff 32))
(map-set votes tx-sender 0xb462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea)
Expand All @@ -30,4 +30,4 @@ const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb03

**Recipes**

- [create-sha256-hash-stacks-js](/cookbook/create-sha256-hash-stacks-js)
- [Create a SHA-256 hash using Stacks.js](/cookbook/create-sha256-hash-stacks-js)
6 changes: 3 additions & 3 deletions content/_recipes/create-sha256-hash-stacks-js.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create a SHA-256 hash using stacks.js
# Create a SHA-256 hash using Stacks.js

A scripts in javascript that creates a sha256 hash
that can be created in Clarity as well.
Expand All @@ -13,7 +13,7 @@ that can be created in Clarity as well.
const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea
```

```Clarity
```clarity
;; vote
(define-map votes principal (buff 32))
(map-set votes tx-sender 0xb462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea)
Expand All @@ -30,4 +30,4 @@ const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb03

**Recipes**

- [create-sha256-hash-clarity](/cookbook/create-sha256-hash-clarity)
- [Create a SHA-256 hash using Clarity](/cookbook/create-sha256-hash-clarity)

0 comments on commit cf3bd94

Please sign in to comment.