Skip to content

Commit

Permalink
chore: fix doc test (#3530)
Browse files Browse the repository at this point in the history
RFC-0240 should have ignore on the scripts sections to not try and compile doc tests
  • Loading branch information
SWvheerden authored Nov 3, 2021
1 parent 097e3e2 commit 21b5c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RFC/src/RFC-0240_AtomicSwap.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ to claim the XTR transaction.

Here is the required BTC script that Bob publishes:

```
``` btc_script,ignore
OP_IF
OP_SHA256 <HASH256{pre_image}> OP_EQUALVERIFY
<Alice BTC address> OP_CHECKSIG
Expand All @@ -124,7 +124,7 @@ _relative locktime_ is a time sequence that Alice chooses to lock up the funds i

Here is the required XTR script that Alice publishes:

```
``` TariScript,ignore
HashSha256 PushHash(HASH256{pre_image}) Equal
IFTHEN
PushPubkey(K_{Sb})
Expand Down

0 comments on commit 21b5c5f

Please sign in to comment.