aboutsummaryrefslogtreecommitdiff
path: root/src/test/leveldbwrapper_tests.cpp
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2015-10-09 10:55:27 -0700
committerJames O'Beirne <james.obeirne@gmail.com>2015-10-09 10:56:48 -0700
commitdcd8e27c65de0d2cb972588a6e811ca7ccd1b3bd (patch)
treed53c4b73ad23c520732eb2f79e1a8d9652d5d272 /src/test/leveldbwrapper_tests.cpp
parent14885068726a8e0dc73ffa127225ab80be3e3612 (diff)
Refer to obfuscate_key via pointer in peripheral CLevelDB classes
cc @sipa
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);