From c1863a309427f393ddfea57bee12f339b71bde67 Mon Sep 17 00:00:00 2001 From: "kristen@oreilly.com" Date: Thu, 18 Nov 2021 12:21:43 -0800 Subject: [PATCH] Edited 10_onion_routing.asciidoc with Atlas code editor --- 10_onion_routing.asciidoc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/10_onion_routing.asciidoc b/10_onion_routing.asciidoc index eb2efca..a7af30e 100644 --- a/10_onion_routing.asciidoc +++ b/10_onion_routing.asciidoc @@ -646,7 +646,9 @@ Alice will send the +update_add_htlc+ message to Bob. Let's look at what this me +amount_msat+:: The amount of the HTLC: 50,200,000 millisatoshis. -+payment_hash+:: The RIPEMD160(SHA-256) payment hash, pass:[9e017f6767971ed7cea17f98528d5f5c]0ccb2c71. ++payment_hash+:: The RIPEMD160(SHA-256) payment hash: ++ ++9e017f6767971ed7cea17f98528d5f5c0ccb2c71+. +cltv_expiry+:: The expiry timelock for the HTLC will be 700,058. Alice adds 20 blocks to the expiry set in Bob's payload according to Bob's negotiated +cltv_expiry_delta+. @@ -755,7 +757,11 @@ Bob now constructs and HTLC to send to Chan, as follows: +amount_msat+:: The amount of the HTLC: 50,100,000 millisatoshis. -+payment_hash+:: The RIPEMD160(SHA-256) payment hash, +9e017f6767971ed7cea17f98528d5f5c0​ccb2c71+. This is the same as the payment hash from Alice's HTLC. ++payment_hash+:: The RIPEMD160(SHA-256) payment hash: ++ ++9e017f6767971ed7cea17f98528d5f5c0​ccb2c71+. ++ +This is the same as the payment hash from Alice's HTLC. +cltv_expiry+:: The expiry timelock for the HTLC will be 700,038.