discovery: remove unused updateChanPolicies struct

This commit is contained in:
Conner Fromknecht 2020-03-19 13:43:57 -07:00
parent 5c2fc4a2d6
commit 92456d063d
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -351,15 +351,6 @@ func New(cfg Config, selfKey *btcec.PublicKey) *AuthenticatedGossiper {
return gossiper
}
// updatedChanPolicies is a set of channel policies that have been successfully
// updated and written to disk, or an error if the policy update failed. This
// struct's map field is intended to be used for updating channel policies on
// the link layer.
type updatedChanPolicies struct {
chanPolicies map[wire.OutPoint]*channeldb.ChannelEdgePolicy
err error
}
// EdgeWithInfo contains the information that is required to update an edge.
type EdgeWithInfo struct {
// Info describes the channel.