aboutsummaryrefslogtreecommitdiff
path: root/src/test/bip32_tests.cpp
diff options
context:
space:
mode:
authorMeshCollider <[email protected]>2017-07-11 21:37:53 +1200
committerMeshCollider <[email protected]>2017-09-08 10:36:26 +1200
commit592404f03f2b734351d734f0c9ca1fdce997321b (patch)
tree463d2c31825679c76f11445366b6736702b2824c /src/test/bip32_tests.cpp
parentMerge #10777: [tests] Avoid redundant assignments. Remove unused variables (diff)
downloaddiscoin-592404f03f2b734351d734f0c9ca1fdce997321b.tar.xz
discoin-592404f03f2b734351d734f0c9ca1fdce997321b.zip
Changing &vec[0] to vec.data(), what 9804 missed
Diffstat (limited to 'src/test/bip32_tests.cpp')
-rw-r--r--src/test/bip32_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bip32_tests.cpp b/src/test/bip32_tests.cpp
index c851ab284..e123c26ad 100644
--- a/src/test/bip32_tests.cpp
+++ b/src/test/bip32_tests.cpp
@@ -91,7 +91,7 @@ void RunTest(const TestVector &test) {
std::vector<unsigned char> seed = ParseHex(test.strHexMaster);
CExtKey key;
CExtPubKey pubkey;
- key.SetMaster(&seed[0], seed.size());
+ key.SetMaster(seed.data(), seed.size());
pubkey = key.Neuter();
for (const TestDerivation &derive : test.vDerive) {
unsigned char data[74];