aboutsummaryrefslogtreecommitdiff
path: root/cursor.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-21 17:14:56 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-21 22:57:50 -0700
commit1ad2b99f281d587b767b36f886401e81d17915a9 (patch)
tree7b46bfc96689af14938a9f93aab732e3e46ee709 /cursor.go
parentMerge pull request #49 from benbjohnson/stat (diff)
downloaddedo-1ad2b99f281d587b767b36f886401e81d17915a9.tar.gz
dedo-1ad2b99f281d587b767b36f886401e81d17915a9.tar.xz
Refactor Transaction/Bucket API.
Diffstat (limited to 'cursor.go')
-rw-r--r--cursor.go2
1 files changed, 1 insertions, 1 deletions
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.