Make cli test pass

This commit is contained in:
nolash
2021-10-10 09:57:34 +02:00
parent e606384ed2
commit 031bc5a618
4 changed files with 10 additions and 9 deletions

View File

@@ -11,12 +11,12 @@ from jsonrpc.exceptions import (
from hexathon import add_0x
# local imports
from crypto_dev_signer.eth.transaction import EIP155Transaction
from crypto_dev_signer.error import (
from funga.eth.transaction import EIP155Transaction
from funga.error import (
UnknownAccountError,
SignerError,
)
from crypto_dev_signer.cli.jsonrpc import jsonrpc_ok
from funga.eth.cli.jsonrpc import jsonrpc_ok
from .jsonrpc import (
jsonrpc_error,
is_valid_json,

View File

@@ -1,5 +1,5 @@
# local imports
from crypto_dev_signer.error import UnknownAccountError
from funga.error import UnknownAccountError
def jsonrpc_error(rpc_id, err):

View File

@@ -19,6 +19,7 @@ logg = logging.getLogger(__name__)
class DictKeystore(EthKeystore):
def __init__(self):
super(DictKeystore, self).__init__()
self.keys = {}