From 92456d063d83ddef549d9cd8d35a74ebe23eed65 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 19 Mar 2020 13:43:57 -0700 Subject: [PATCH] discovery: remove unused updateChanPolicies struct --- discovery/gossiper.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/discovery/gossiper.go b/discovery/gossiper.go index bbc1ebd1b..031394123 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -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.