funding+peer: rename processFundingResponse to processFundingAccept
This commit is contained in:
parent
812ebe6fe6
commit
f963859524
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user