multi: remove dead code
This commit is contained in:
71 files changed
+35
-766
No files matched your search
@@ -123,15 +123,6 @@ func (r *reservationWithCtx) isLocked() bool {
|
||||
return r.lastUpdated.IsZero()
|
||||
}
|
||||
|
||||
// lock locks the reservation from zombie pruning by setting its timestamp to the
|
||||
// zero value.
|
||||
func (r *reservationWithCtx) lock() {
|
||||
r.updateMtx.Lock()
|
||||
defer r.updateMtx.Unlock()
|
||||
|
||||
r.lastUpdated = time.Time{}
|
||||
}
|
||||
|
||||
// updateTimestamp updates the reservation's timestamp with the current time.
|
||||
func (r *reservationWithCtx) updateTimestamp() {
|
||||
r.updateMtx.Lock()
|
||||
@@ -2506,14 +2497,6 @@ func (f *fundingManager) handleFundingLocked(fmsg *fundingLockedMsg) {
|
||||
}
|
||||
}
|
||||
|
||||
// channelProof is one half of the proof necessary to create an authenticated
|
||||
// announcement on the network. The two signatures individually sign a
|
||||
// statement of the existence of a channel.
|
||||
type channelProof struct {
|
||||
nodeSig *btcec.Signature
|
||||
bitcoinSig *btcec.Signature
|
||||
}
|
||||
|
||||
// chanAnnouncement encapsulates the two authenticated announcements that we
|
||||
// send out to the network after a new channel has been created locally.
|
||||
type chanAnnouncement struct {
|
||||
|
||||
Reference in new issue
Block a user