mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-17 08:21:06 +02:00
Fixes #4383 by adding a new SafeCopyMacaroon function that correctly clones all caveats and prevents modifications on the copy from affecting the original.