aboutsummaryrefslogtreecommitdiff
path: root/cursor.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-22 22:54:54 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-22 22:54:54 -0700
commit3b2fd8f2d3e376fa7a3f3b2ba665fcd4a5b5bb15 (patch)
treea2b7de98448c4ddd427449dfe85695fa5c7c9c22 /cursor.go
parentMerge pull request #50 from benbjohnson/api (diff)
downloaddedo-3b2fd8f2d3e376fa7a3f3b2ba665fcd4a5b5bb15.tar.gz
dedo-3b2fd8f2d3e376fa7a3f3b2ba665fcd4a5b5bb15.tar.xz
Revert "Refactor Transaction/Bucket API."
This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9.
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 0cb94b5..9a527af 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 *Transaction) *node {
+func (c *Cursor) node(t *RWTransaction) *node {
_assert(len(c.stack) > 0, "accessing a node with a zero-length cursor stack")
// Start from root and traverse down the hierarchy.