Merge pull request #3197 from breez/optimize_prune_zombie_channels

Optimize prune zombie channels
This commit is contained in:
Olaoluwa Osuntokun
2019-07-18 20:56:56 -07:00
committed by GitHub
5 changed files with 256 additions and 39 deletions

View File

@@ -1916,7 +1916,7 @@ func TestPruneChannelGraphStaleEdges(t *testing.T) {
t.Parallel()
freshTimestamp := time.Now()
staleTimestamp := time.Time{}
staleTimestamp := time.Unix(0, 0)
// We'll create the following test graph so that only the last channel
// is pruned.