mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-27 09:12:15 +02:00
lnwallet: fix loop binding bug
This commit is contained in:
parent
2947036633
commit
c7fad2d7cf
@ -346,6 +346,8 @@ func (l *LightningWallet) Shutdown() error {
|
||||
func (l *LightningWallet) LockedOutpoints() []*wire.OutPoint {
|
||||
outPoints := make([]*wire.OutPoint, 0, len(l.lockedOutPoints))
|
||||
for outPoint := range l.lockedOutPoints {
|
||||
outPoint := outPoint
|
||||
|
||||
outPoints = append(outPoints, &outPoint)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user