fuzz_tests: fix build error in signature fuzz test

This commit is contained in:
moneromooo-monero 2020-09-24 11:47:09 +00:00 committed by wowario
parent cfc8640492
commit 94b5378a3b
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -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()