aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/crypto_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/test/crypto_tests.cpp')
-rw-r--r--src/wallet/test/crypto_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/crypto_tests.cpp b/src/wallet/test/crypto_tests.cpp
index cbd74b6f96..f4dabc50c0 100644
--- a/src/wallet/test/crypto_tests.cpp
+++ b/src/wallet/test/crypto_tests.cpp
@@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE(passphrase) {
std::string hash(GetRandHash().ToString());
std::vector<unsigned char> vchSalt(8);
- GetRandBytes(&vchSalt[0], vchSalt.size());
+ GetRandBytes(vchSalt.data(), vchSalt.size());
uint32_t rounds = InsecureRand32();
if (rounds > 30000)
rounds = 30000;