Merge pull request #3687 from joostjager/wallet-binding-fix
lnwallet: fix loop binding bug
This commit is contained in:
commit
2bec35a3d2
@ -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…
Reference in New Issue
Block a user