refactor: use maps.Copy for cleaner map handling

Signed-off-by: xinhangzhou <shuangcui@aliyun.com>
This commit is contained in:
xinhangzhou
2025-03-24 17:13:47 +08:00
parent 5235f3b24f
commit b7e3c20383
7 changed files with 18 additions and 28 deletions

View File

@@ -433,6 +433,9 @@ The underlying functionality between those two options remain the same.
inputs spending logic in the sweeper so it can properly handle missing inputs
and recover from restart.
* A code refactor to [use maps.Copy instead of manually copying map
elements](https://github.com/lightningnetwork/lnd/pull/9630).
## Tooling and Documentation