aboutsummaryrefslogtreecommitdiff
path: root/src/test/leveldbwrapper_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/leveldbwrapper_tests.cpp')
-rw-r--r--src/test/leveldbwrapper_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/leveldbwrapper_tests.cpp b/src/test/leveldbwrapper_tests.cpp
index 36975548c2..606313b004 100644
--- a/src/test/leveldbwrapper_tests.cpp
+++ b/src/test/leveldbwrapper_tests.cpp
@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(leveldbwrapper_batch)
uint256 in3 = GetRandHash();
uint256 res;
- CLevelDBBatch batch(dbw.GetObfuscateKey());
+ CLevelDBBatch batch(&dbw.GetObfuscateKey());
batch.Write(key, in);
batch.Write(key2, in2);