mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 15:41:44 +02: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