funga

Signer and keystore daemon and library for cryptocurrency software development
Log | Files | Refs | README | LICENSE

commit d91c57fc9f8389cff81e123b19934f03ba814189
parent 793c1d9367dd205c07a116cd11a44de8ebca53b6
Author: nolash <dev@holbrook.no>
Date:   Tue, 22 Dec 2020 14:50:00 +0100

Upgrade confini

Diffstat:
Mcrypto_dev_signer/runnable/signer.py | 10+++++-----
Mrequirements.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 @@ -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 @@ -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