rpcserver: fix make lint

This commit is contained in:
yyforyongyu 2020-09-16 12:08:46 +08:00
parent e8d9643f3a
commit 245db6a7fe
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -1997,8 +1997,8 @@ out:
// If a final channel open update is being sent, then
// we can break out of our recv loop as we no longer
// need to process any further updates.
switch update := fundingUpdate.Update.(type) {
case *lnrpc.OpenStatusUpdate_ChanOpen:
update, ok := fundingUpdate.Update.(*lnrpc.OpenStatusUpdate_ChanOpen)
if ok {
chanPoint := update.ChanOpen.ChannelPoint
txid, err := GetChanPointFundingTxid(chanPoint)
if err != nil {