mirror of
https://github.com/lightning/bolts.git
synced 2025-02-22 06:21:48 +01:00
Fix a typo in insert_secret
pseudo code (#741)
... to make it consistent with the `where_to_put_secret` above.
This commit is contained in:
parent
458b0d34e1
commit
2afe097f68
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ A double-check, that all previous secrets derive correctly, is needed;
|
|||
if this check fails, the secrets were not generated from the same seed:
|
||||
|
||||
insert_secret(secret, I):
|
||||
B = where_to_put_secret(secret, I)
|
||||
B = where_to_put_secret(I)
|
||||
|
||||
# This tracks the index of the secret in each bucket across the traversal.
|
||||
for b in 0 to B:
|
||||
|
|
Loading…
Add table
Reference in a new issue