funding+peer: rename processFundingResponse to processFundingAccept

This commit is contained in:
Olaoluwa Osuntokun 2017-07-31 21:04:48 -07:00
parent 812ebe6fe6
commit f963859524
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
2 changed files with 2 additions and 2 deletions

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}

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: