rpcserver: fix make lint
This commit is contained in:
parent
e8d9643f3a
commit
245db6a7fe
@ -1997,8 +1997,8 @@ out:
|
|||||||
// If a final channel open update is being sent, then
|
// If a final channel open update is being sent, then
|
||||||
// we can break out of our recv loop as we no longer
|
// we can break out of our recv loop as we no longer
|
||||||
// need to process any further updates.
|
// need to process any further updates.
|
||||||
switch update := fundingUpdate.Update.(type) {
|
update, ok := fundingUpdate.Update.(*lnrpc.OpenStatusUpdate_ChanOpen)
|
||||||
case *lnrpc.OpenStatusUpdate_ChanOpen:
|
if ok {
|
||||||
chanPoint := update.ChanOpen.ChannelPoint
|
chanPoint := update.ChanOpen.ChannelPoint
|
||||||
txid, err := GetChanPointFundingTxid(chanPoint)
|
txid, err := GetChanPointFundingTxid(chanPoint)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user