lnwire: directly embed the wire.OutPoint in all commitment update msgs

This commit is contained in:
Olaoluwa Osuntokun committed 2017-02-21 01:42:35 -08:00
1 parent 5330513c7b
commit ccbbcf389b
10 files changed
+24 -62

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ import (
// know the order of the inputs/outputs.
type CloseRequest struct {
// ChannelPoint serves to identify which channel is to be closed.
ChannelPoint *wire.OutPoint
ChannelPoint wire.OutPoint
// RequesterCloseSig is the signature of the requester for the fully
// assembled closing transaction.
@@ -36,7 +36,7 @@ type CloseRequest struct {
}
// NewCloseRequest creates a new CloseRequest.
func NewCloseRequest(cp *wire.OutPoint, sig *btcec.Signature) *CloseRequest {
func NewCloseRequest(cp wire.OutPoint, sig *btcec.Signature) *CloseRequest {
// TODO(roasbeef): update once fees aren't hardcoded
return &CloseRequest{
ChannelPoint: cp,