diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-24 11:47:09 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-09-24 15:17:57 +0000 |
commit | 6ee9f1260770d24ac100fe9eb5d90d367d440e23 (patch) | |
tree | 298ab98bdb0e1d934cbe5359d88bfeb580cc7e2d /tests | |
parent | Merge pull request #6819 (diff) | |
download | monero-6ee9f1260770d24ac100fe9eb5d90d367d440e23.tar.xz |
fuzz_tests: fix build error in signature fuzz test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fuzz/signature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzz/signature.cpp b/tests/fuzz/signature.cpp index c587ff6cd..443057a57 100644 --- a/tests/fuzz/signature.cpp +++ b/tests/fuzz/signature.cpp @@ -59,6 +59,6 @@ BEGIN_INIT_SIMPLE_FUZZER() END_INIT_SIMPLE_FUZZER() BEGIN_SIMPLE_FUZZER() - tools::wallet2::message_signature_result_t result = wallet->verify("test", address, s); + tools::wallet2::message_signature_result_t result = wallet->verify("test", address, std::string((const char*)buf, len)); std::cout << "Signature " << (result.valid ? "valid" : "invalid") << std::endl; END_SIMPLE_FUZZER() |