From f814b645433f8edea116e9264b43e84262c65c22 Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Thu, 12 Mar 2020 13:59:23 -0500 Subject: [PATCH] bug fix --- pkg/super_node/btc/cleaner.go | 1 - pkg/super_node/eth/cleaner.go | 1 - 2 files changed, 2 deletions(-) diff --git a/pkg/super_node/btc/cleaner.go b/pkg/super_node/btc/cleaner.go index a2ed3408..d3c90746 100644 --- a/pkg/super_node/btc/cleaner.go +++ b/pkg/super_node/btc/cleaner.go @@ -75,7 +75,6 @@ func (c *Cleaner) clean(tx *sqlx.Tx, rng [2]uint64, t shared.DataType) error { default: return fmt.Errorf("btc cleaner unrecognized type: %s", t.String()) } - return nil } func (c *Cleaner) cleanFull(tx *sqlx.Tx, rng [2]uint64) error { diff --git a/pkg/super_node/eth/cleaner.go b/pkg/super_node/eth/cleaner.go index d66cbf48..6a56ed7c 100644 --- a/pkg/super_node/eth/cleaner.go +++ b/pkg/super_node/eth/cleaner.go @@ -105,7 +105,6 @@ func (c *Cleaner) clean(tx *sqlx.Tx, rng [2]uint64, t shared.DataType) error { default: return fmt.Errorf("eth cleaner unrecognized type: %s", t.String()) } - return nil } func (c *Cleaner) cleanFull(tx *sqlx.Tx, rng [2]uint64) error {