lnwallet/chancloser: fix loop variable shadowing in TestMaxFeeBailOut

This commit is contained in:
Olaoluwa Osuntokun 2022-10-06 17:42:06 -07:00
parent 2482de9cab
commit 30eb6770e5
No known key found for this signature in database
GPG Key ID: 3BBD59E99B280306

View File

@ -268,6 +268,8 @@ func TestMaxFeeBailOut(t *testing.T) {
)
for _, isInitiator := range []bool{true, false} {
isInitiator := isInitiator
t.Run(fmt.Sprintf("initiator=%v", isInitiator), func(t *testing.T) {
t.Parallel()