aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/sign_message.py
diff options
context:
space:
mode:
authorSarang Noether <32460187+SarangNoether@users.noreply.github.com>2020-08-28 19:38:00 -0400
committerSarang Noether <32460187+SarangNoether@users.noreply.github.com>2020-08-28 19:38:00 -0400
commitfa06c39d9731b90dfd58ecd6cdfd3c936ee139a7 (patch)
treece191c3d6f23869e1250f7d77d0746cfafa645c1 /tests/functional_tests/sign_message.py
parentwallet: allow signing a message with spend or view key (diff)
downloadmonero-fa06c39d9731b90dfd58ecd6cdfd3c936ee139a7.tar.xz
Bind signature to full address and signing mode
Diffstat (limited to '')
-rwxr-xr-xtests/functional_tests/sign_message.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional_tests/sign_message.py b/tests/functional_tests/sign_message.py
index 73c714450..dbb7cfd6d 100755
--- a/tests/functional_tests/sign_message.py
+++ b/tests/functional_tests/sign_message.py
@@ -100,6 +100,8 @@ class MessageSigningTest():
assert not res.good
res = self.wallet[i].verify(message, address[0], signature + 'x')
assert not res.good
+ res = self.wallet[i].verify(message, address[0], signature.replace('SigV2','SigV1'))
+ assert not res.good
if __name__ == '__main__':
MessageSigningTest().run_test()