Add sign msg method

This commit is contained in:
nolash
2020-12-19 08:47:21 +01:00
parent e4efc53b31
commit 793c1d9367
7 changed files with 45 additions and 4 deletions

View File

@@ -87,5 +87,10 @@ class TestSign(unittest.TestCase):
z = s.signTransaction(t)
def test_sign_message(self):
s = ReferenceSigner(self.pk_getter)
z = s.signEthereumMessage(tx_ints['from'], 'foo')
if __name__ == '__main__':
unittest.main()