1
0
Fork 0
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:
Jan Xie 2020-02-14 16:45:32 +08:00 committed by GitHub
parent 458b0d34e1
commit 2afe097f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: