mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
lnwire: replace usage of btcec.Signature with the new lnwire.Sig type
This commit is contained in:
@@ -3,7 +3,6 @@ package lnwire
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/roasbeef/btcd/btcec"
|
||||
"github.com/roasbeef/btcutil"
|
||||
)
|
||||
|
||||
@@ -27,12 +26,12 @@ type ClosingSigned struct {
|
||||
FeeSatoshis btcutil.Amount
|
||||
|
||||
// Signature is for the proposed channel close transaction.
|
||||
Signature *btcec.Signature
|
||||
Signature Sig
|
||||
}
|
||||
|
||||
// NewClosingSigned creates a new empty ClosingSigned message.
|
||||
func NewClosingSigned(cid ChannelID, fs btcutil.Amount,
|
||||
sig *btcec.Signature) *ClosingSigned {
|
||||
sig Sig) *ClosingSigned {
|
||||
|
||||
return &ClosingSigned{
|
||||
ChannelID: cid,
|
||||
|
Reference in New Issue
Block a user