Add sign msg method
This commit is contained in:
@@ -118,9 +118,15 @@ methods = {
|
||||
'personal_newAccount': personal_new_account,
|
||||
'personal_signTransaction': personal_sign_transaction,
|
||||
'eth_signTransaction': eth_signTransaction,
|
||||
'eth_sign': eth_sign,
|
||||
}
|
||||
|
||||
|
||||
def eth_sign(address, message):
|
||||
logg.debug('got message {} to sign'.format(p[0]))
|
||||
return signer.signEthereumMessage(address, message)
|
||||
|
||||
|
||||
def jsonrpc_error(rpc_id, err):
|
||||
return {
|
||||
'json-rpc': '2.0',
|
||||
|
||||
Reference in New Issue
Block a user