From e0b1200ffa4220f3db6d518aa322f97e0a30cc1f Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 18 Sep 2024 19:09:49 +1000 Subject: [PATCH] Bolt 11: add example SHA256 hash of description (#994) Clarify test vector. --- 11-payment-encoding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11-payment-encoding.md b/11-payment-encoding.md index e09a530..2e5be96 100644 --- a/11-payment-encoding.md +++ b/11-payment-encoding.md @@ -455,7 +455,7 @@ Breakdown: * `p`: payment hash... * `h`: tagged field: hash of description * `p5`: `data_length` (`p` = 1, `5` = 20; 1 * 32 + 20 == 52) - * `8yjmdan79s6qqdhdzgynm4zwqd5d7xmw5fk98klysy043l2ahrqs`: SHA256 of 'One piece of chocolate cake, one icecream cone, one pickle, one slice of swiss cheese, one slice of salami, one lollypop, one piece of cherry pie, one sausage, one cupcake, and one slice of watermelon' + * `8yjmdan79s6qqdhdzgynm4zwqd5d7xmw5fk98klysy043l2ahrqs`: SHA256 of 'One piece of chocolate cake, one icecream cone, one pickle, one slice of swiss cheese, one slice of salami, one lollypop, one piece of cherry pie, one sausage, one cupcake, and one slice of watermelon' (SHA256 hex: `3925b6f67e2c340036ed12093dd44e0368df1b6ea26c53dbe4811f58fd5db8c1`) * `9`: features * `qr`: `data_length` (`q` = 0, `r` = 3; 0 * 32 + 3 == 3) * `sgq`: b100000100000000