mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-19 20:25:51 +01:00
funding+peer: rename processFundingResponse to processFundingAccept
This commit is contained in:
@@ -687,7 +687,7 @@ func (f *fundingManager) handleFundingOpen(fmsg *fundingOpenMsg) {
|
|||||||
|
|
||||||
// processFundingAccept sends a message to the fundingManager allowing it to
|
// processFundingAccept sends a message to the fundingManager allowing it to
|
||||||
// continue the second phase of a funding workflow with the target peer.
|
// 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) {
|
peerAddress *lnwire.NetAddress) {
|
||||||
|
|
||||||
f.fundingMsgs <- &fundingAcceptMsg{msg, peerAddress}
|
f.fundingMsgs <- &fundingAcceptMsg{msg, peerAddress}
|
||||||
|
|||||||
2
peer.go
2
peer.go
@@ -444,7 +444,7 @@ out:
|
|||||||
case *lnwire.OpenChannel:
|
case *lnwire.OpenChannel:
|
||||||
p.server.fundingMgr.processFundingOpen(msg, p.addr)
|
p.server.fundingMgr.processFundingOpen(msg, p.addr)
|
||||||
case *lnwire.AcceptChannel:
|
case *lnwire.AcceptChannel:
|
||||||
p.server.fundingMgr.processFundingResponse(msg, p.addr)
|
p.server.fundingMgr.processFundingAccept(msg, p.addr)
|
||||||
case *lnwire.FundingCreated:
|
case *lnwire.FundingCreated:
|
||||||
p.server.fundingMgr.processFundingCreated(msg, p.addr)
|
p.server.fundingMgr.processFundingCreated(msg, p.addr)
|
||||||
case *lnwire.FundingSigned:
|
case *lnwire.FundingSigned:
|
||||||
|
|||||||
Reference in New Issue
Block a user