mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 01:50:03 +01:00
Merge pull request #523 from nayuta-gondo/pr/20181204-ek_k
BOLT 4: fix the index of `ek`.
This commit is contained in:
commit
cdb275b52e
@ -367,7 +367,7 @@ shared secret `ss_k` and ephemeral key for the next hop `ek_{k+1}` as follows:
|
||||
- The ephemeral private key for the next hop `ek_{k+1}` is computed by
|
||||
multiplying the current ephemeral private key `ek_k` by the blinding factor.
|
||||
- The ephemeral public key for the next hop `epk_{k+1}` is derived from the
|
||||
ephemeral private key `ek_k` by multiplying with the base point.
|
||||
ephemeral private key `ek_{k+1}` by multiplying with the base point.
|
||||
|
||||
Once the sender has all the required information above, it can construct the
|
||||
packet. Constructing a packet routed over `r` hops requires `r` 32-byte
|
||||
|
Loading…
Reference in New Issue
Block a user