From d759e05a1c046da88dd2bc4729247fe6aedfe88f Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 21 Feb 2017 22:00:56 -0800 Subject: [PATCH] lnwallet: fix failure to exit early in openChannelAfterConfirmations --- lnwallet/wallet.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index c4123c9a4..70f898868 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -1290,6 +1290,7 @@ out: if err != nil { res.chanOpenErr <- err res.chanOpen <- nil + return } res.chanOpenErr <- nil