@ -335,7 +335,7 @@ Dina's node will calculate a cryptographic hash of +R+, such that:
H = SHA256(R)
----
In <<payment_hash_and_preimage>> +H+ is the hash, or _payment hash_ and +R+ is the secret or _payment pre-image_.
In this code, +H+ is the hash, or _payment hash_ and +R+ is the secret or _payment pre-image_.
The use of a cryptographic hash function is one element that guarantees _trustless operation_. The payment intermediaries do not need to trust each other because they know that no one can guess the secret or fake it.
@ -353,6 +353,7 @@ Let's see how we would implement this as an HTLC in Bitcoin Script. In <<receive