mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 22:46:40 +01:00
lnwallet: fix loop binding bug
This commit is contained in:
parent
2947036633
commit
c7fad2d7cf
1 changed files with 2 additions and 0 deletions
|
@ -346,6 +346,8 @@ func (l *LightningWallet) Shutdown() error {
|
||||||
func (l *LightningWallet) LockedOutpoints() []*wire.OutPoint {
|
func (l *LightningWallet) LockedOutpoints() []*wire.OutPoint {
|
||||||
outPoints := make([]*wire.OutPoint, 0, len(l.lockedOutPoints))
|
outPoints := make([]*wire.OutPoint, 0, len(l.lockedOutPoints))
|
||||||
for outPoint := range l.lockedOutPoints {
|
for outPoint := range l.lockedOutPoints {
|
||||||
|
outPoint := outPoint
|
||||||
|
|
||||||
outPoints = append(outPoints, &outPoint)
|
outPoints = append(outPoints, &outPoint)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue