mirror of
https://github.com/monero-project/monero.git
synced 2026-01-08 03:11:00 -08:00
Bind signature to full address and signing mode
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user