aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/signature.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-08-31 16:49:03 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-08-31 16:49:03 -0500
commit61dd04b68121b4057b4b88356761fbfb3fa73c90 (patch)
treece191c3d6f23869e1250f7d77d0746cfafa645c1 /tests/fuzz/signature.cpp
parentMerge pull request #6787 (diff)
parentBind signature to full address and signing mode (diff)
downloadmonero-61dd04b68121b4057b4b88356761fbfb3fa73c90.tar.xz
Merge pull request #6600
fa06c39 Bind signature to full address and signing mode (SarangNoether) 743608e wallet: allow signing a message with spend or view key (moneromooo-monero)
Diffstat (limited to 'tests/fuzz/signature.cpp')
-rw-r--r--tests/fuzz/signature.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fuzz/signature.cpp b/tests/fuzz/signature.cpp
index 2a3e65c25..c587ff6cd 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()
- bool valid = wallet->verify("test", address, std::string((const char*)buf, len));
- std::cout << "Signature " << (valid ? "valid" : "invalid") << std::endl;
+ tools::wallet2::message_signature_result_t result = wallet->verify("test", address, s);
+ std::cout << "Signature " << (result.valid ? "valid" : "invalid") << std::endl;
END_SIMPLE_FUZZER()