diff options
author | Sarang Noether <32460187+SarangNoether@users.noreply.github.com> | 2020-08-28 19:38:00 -0400 |
---|---|---|
committer | Sarang Noether <32460187+SarangNoether@users.noreply.github.com> | 2020-08-28 19:38:00 -0400 |
commit | fa06c39d9731b90dfd58ecd6cdfd3c936ee139a7 (patch) | |
tree | ce191c3d6f23869e1250f7d77d0746cfafa645c1 /tests | |
parent | wallet: allow signing a message with spend or view key (diff) | |
download | monero-fa06c39d9731b90dfd58ecd6cdfd3c936ee139a7.tar.xz |
Bind signature to full address and signing mode
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/functional_tests/sign_message.py | 2 |
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() |