diff options
Diffstat (limited to 'src/tests/test_tss.cpp')
-rw-r--r-- | src/tests/test_tss.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_tss.cpp b/src/tests/test_tss.cpp index fad85f93c..23ea89b19 100644 --- a/src/tests/test_tss.cpp +++ b/src/tests/test_tss.cpp @@ -28,7 +28,7 @@ size_t test_tss() const secure_vector<byte> S = hex_decode_locked("7465737400"); std::vector<RTSS_Share> shares = - RTSS_Share::split(2, 4, &S[0], S.size(), id, rng); + RTSS_Share::split(2, 4, S.data(), S.size(), id, rng); auto back = RTSS_Share::reconstruct(shares); |