From 1ad2b99f281d587b767b36f886401e81d17915a9 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Fri, 21 Feb 2014 17:14:56 -0700 Subject: Refactor Transaction/Bucket API. --- cursor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cursor.go') diff --git a/cursor.go b/cursor.go index 9a527af..0cb94b5 100644 --- a/cursor.go +++ b/cursor.go @@ -201,7 +201,7 @@ func (c *Cursor) keyValue() ([]byte, []byte) { } // node returns the node that the cursor is currently positioned on. -func (c *Cursor) node(t *RWTransaction) *node { +func (c *Cursor) node(t *Transaction) *node { _assert(len(c.stack) > 0, "accessing a node with a zero-length cursor stack") // Start from root and traverse down the hierarchy. -- cgit v1.2.3