From 21b5c5f1e4f44874a6083b5c4bbdb81d81930c3e Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Wed, 3 Nov 2021 14:36:44 +0200 Subject: [PATCH] chore: fix doc test (#3530) RFC-0240 should have ignore on the scripts sections to not try and compile doc tests --- RFC/src/RFC-0240_AtomicSwap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RFC/src/RFC-0240_AtomicSwap.md b/RFC/src/RFC-0240_AtomicSwap.md index 89f08c0fda..72f620374d 100644 --- a/RFC/src/RFC-0240_AtomicSwap.md +++ b/RFC/src/RFC-0240_AtomicSwap.md @@ -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 OP_EQUALVERIFY OP_CHECKSIG @@ -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})