From c551e45a4722f58dc4c19f9d1b80b0b8db3ad039 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sat, 8 Mar 2014 20:25:37 -0700 Subject: Consolidate Tx and RWTx. --- cursor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cursor.go') diff --git a/cursor.go b/cursor.go index 2907b84..244c915 100644 --- a/cursor.go +++ b/cursor.go @@ -251,7 +251,7 @@ func (c *Cursor) keyValue() ([]byte, []byte) { } // node returns the node that the cursor is currently positioned on. -func (c *Cursor) node(t *RWTx) *node { +func (c *Cursor) node(t *Tx) *node { _assert(len(c.stack) > 0, "accessing a node with a zero-length cursor stack") // If the top of the stack is a leaf node then just return it. -- cgit v1.2.3