From f96385952406eada7b5e6039aefd28ff09ed9709 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 31 Jul 2017 21:04:48 -0700 Subject: [PATCH] funding+peer: rename processFundingResponse to processFundingAccept --- fundingmanager.go | 2 +- peer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fundingmanager.go b/fundingmanager.go index 4e789c99b..52135c4aa 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 9faefed39..273559886 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: