aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/wallet_crypto_tests.cpp
diff options
context:
space:
mode:
authorpasta <pasta@dashboost.org>2022-01-31 19:29:33 +0700
committerpasta <pasta@dashboost.org>2022-03-23 17:36:33 -0500
commit3ae7791bcaa88f5c68592673b8926ee807242ce7 (patch)
treea3c9f0be42e9082a9047f26d4eecb65b441e39a8 /src/wallet/test/wallet_crypto_tests.cpp
parentcea230eec40054a82fcd31fa97cf46f1585c4a35 (diff)
downloadbitcoin-3ae7791bcaa88f5c68592673b8926ee807242ce7.tar.xz
refactor: use Span in random.*
Diffstat (limited to 'src/wallet/test/wallet_crypto_tests.cpp')
-rw-r--r--src/wallet/test/wallet_crypto_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/wallet_crypto_tests.cpp b/src/wallet/test/wallet_crypto_tests.cpp
index 166e27bab9..327c28412a 100644
--- a/src/wallet/test/wallet_crypto_tests.cpp
+++ b/src/wallet/test/wallet_crypto_tests.cpp
@@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE(passphrase) {
std::string hash(GetRandHash().ToString());
std::vector<unsigned char> vchSalt(8);
- GetRandBytes(vchSalt.data(), vchSalt.size());
+ GetRandBytes(vchSalt);
uint32_t rounds = InsecureRand32();
if (rounds > 30000)
rounds = 30000;