funding+peer: rename processFundingResponse to processFundingAccept

This commit is contained in:
Olaoluwa Osuntokun committed 2017-07-31 21:04:58 -07:00
1 parent 812ebe6fe6
commit f963859524
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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}
+1 -1
View File
@@ -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: