aboutsummaryrefslogtreecommitdiffstats
path: root/core/lattice-data.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/lattice-data.go')
-rw-r--r--core/lattice-data.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/lattice-data.go b/core/lattice-data.go
index e55c0db..998fb1f 100644
--- a/core/lattice-data.go
+++ b/core/lattice-data.go
@@ -257,10 +257,7 @@ func (data *latticeData) sanityCheck(b *types.Block) error {
return ErrNotAckParent
}
}
- if err := data.checkAckingRelations(b); err != nil {
- return err
- }
- return nil
+ return data.checkAckingRelations(b)
}
// addBlock processes blocks. It does sanity check, inserts block into lattice