diff --git a/fundingmanager.go b/fundingmanager.go index 4e789c99..52135c4a 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -687,7 +687,7 @@ func (f *fundingManager) handleFundingOpen(fmsg *fundingOpenMsg) { // processFundingAccept sends a message to the fundingManager allowing it to // continue the second phase of a funding workflow with the target peer. -func (f *fundingManager) processFundingResponse(msg *lnwire.AcceptChannel, +func (f *fundingManager) processFundingAccept(msg *lnwire.AcceptChannel, peerAddress *lnwire.NetAddress) { f.fundingMsgs <- &fundingAcceptMsg{msg, peerAddress} diff --git a/peer.go b/peer.go index 9faefed3..27355988 100644 --- a/peer.go +++ b/peer.go @@ -444,7 +444,7 @@ out: case *lnwire.OpenChannel: p.server.fundingMgr.processFundingOpen(msg, p.addr) case *lnwire.AcceptChannel: - p.server.fundingMgr.processFundingResponse(msg, p.addr) + p.server.fundingMgr.processFundingAccept(msg, p.addr) case *lnwire.FundingCreated: p.server.fundingMgr.processFundingCreated(msg, p.addr) case *lnwire.FundingSigned: