aboutsummaryrefslogtreecommitdiff
path: root/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'db.go')
-rw-r--r--db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.go b/db.go
index 578a134..3bee89a 100644
--- a/db.go
+++ b/db.go
@@ -228,7 +228,7 @@ func (db *DB) RWTransaction() (*RWTransaction, error) {
// Create a transaction associated with the database.
t := &RWTransaction{
branches: make(map[pgid]*branch),
- leafs: make(map[pgid]*leaf),
+ leafs: make(map[pgid]*leaf),
}
t.init(db, db.meta())