Replies: 1 comment
-
Yeah, this original default behavior is quite confusing, especially as we added more subserver macaroons which aren't treated the same way as the three "default" macaroons. So I think it makes sense to unify the behavior and re-generate individual macaroons if they are missing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, if you delete only the
admin.macaroon
file and restart lnd, theadmin.macaroon
file won't be regenerated. WIthout it, things likelncli
won't work. If you delete bothreadonly.macaroon
andinvoice.macaroon
then lnd will regenerate all three.I figure lnd should regenerate these independently, or at least the admin macaroon since it's an important part of using lnd (and without it, you can't bake macaroons).
Does this make sense? I wanted to get some input before working on a PR since this isn't really a bug.
Beta Was this translation helpful? Give feedback.
All reactions