19073: Fix dup tag detection.
[lightning.git] / tilestats.go
index d870d7bb7d983c8885e721603e93671f898b8ad5..b6284d9d017ea123ee3e64f31783941ed33d83e6 100644 (file)
@@ -147,6 +147,8 @@ func (cmd *tilingStats) RunCommand(prog string, args []string, stdin io.Reader,
                        for _, libref := range cseq.TileSequences[seqname] {
                                if dup, seen := duptag[libref.Tag]; seen && !dup {
                                        duptag[libref.Tag] = true
+                               } else {
+                                       duptag[libref.Tag] = false
                                }
                        }
                }