From d91c57fc9f8389cff81e123b19934f03ba814189 Mon Sep 17 00:00:00 2001 From: nolash Date: Tue, 22 Dec 2020 14:50:00 +0100 Subject: [PATCH] Upgrade confini --- crypto_dev_signer/runnable/signer.py | 10 +++++----- requirements.txt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crypto_dev_signer/runnable/signer.py b/crypto_dev_signer/runnable/signer.py index e0b9c20..71303d7 100755 --- a/crypto_dev_signer/runnable/signer.py +++ b/crypto_dev_signer/runnable/signer.py @@ -114,6 +114,11 @@ def eth_signTransaction(tx): return personal_sign_transaction([tx, '']) +def eth_sign(address, message): + logg.debug('got message {} to sign'.format(p[0])) + return signer.signEthereumMessage(address, message) + + methods = { 'personal_newAccount': personal_new_account, 'personal_signTransaction': personal_sign_transaction, @@ -122,11 +127,6 @@ methods = { } -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', diff --git a/requirements.txt b/requirements.txt index 3111bc6..8294bea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,5 @@ eth-keys==0.3.3 pysha3==1.0.2 rlp==2.0.0a1 json-rpc==1.13.0 -confini==0.3.4 +confini==0.3.5 sqlalchemy==1.3.20