From 60b3d6ede1e79b967b7fe7e63aa0622177db13d5 Mon Sep 17 00:00:00 2001 From: Kilian Date: Tue, 19 Dec 2023 14:37:15 +0000 Subject: [PATCH] docs: Move OP_EQUAL up, clarify hash of hash --- docs/dont-trust.-verify.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dont-trust.-verify.md b/docs/dont-trust.-verify.md index e33be2df..8d6a25e6 100644 --- a/docs/dont-trust.-verify.md +++ b/docs/dont-trust.-verify.md @@ -25,9 +25,9 @@ Boltz API returns a redeem script and a derived chain address when creating swap Although the output script of the P2SH nested P2WSH addresses is the same as the one of plain P2SH addresses, other data is hashed. Here, not the plain redeem script is hashed, but a P2WSH output script is constructed and hashed first with SHA256 and then with RIPEMD-160 as if it was the redeem script. The output script will look like this: ``` -OP_HASH160 - OP_EQUAL +OP_HASH160 + ``` #### P2WSH