From d1a77a9c821e391c8058f22f970c2d4f44cbce50 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Tue, 24 Jun 2014 11:58:46 -0600 Subject: [PATCH] Minor fix. --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index 2fc9065..7e60b04 100644 --- a/db.go +++ b/db.go @@ -578,7 +578,7 @@ func (s *Stats) Sub(other *Stats) Stats { if other == nil { return *s } - var diff Stat + var diff Stats diff.TxN = other.TxN - s.TxN diff.TxStats = s.TxStats.Sub(&other.TxStats) return diff