Bind signature to full address and signing mode

This commit is contained in:
Sarang Noether 2020-08-28 19:38:00 -04:00
parent 743608ec16
commit fa06c39d97
12 changed files with 47 additions and 51 deletions

View file

@ -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()