mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Changing &vec[0] to vec.data(), what 9804 missed
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user