Skip to content

RPC interface fails to initialize wallet #156

@israellevin

Description

@israellevin

To reproduce, run ngccc-server.py

./ngccc-server.py

Traceback (most recent call last):
  File "./ngccc-server.py", line 12, in <module>
    from ngcccbase.rpc_interface import RPCRequestHandler
  File "/root/chroma/ngcccbase/ngcccbase/rpc_interface.py", line 18, in <module>
    wallet = PersistentWallet()
TypeError: __init__() takes exactly 3 arguments (1 given)

Edit: a workaround is to change line 18 in rpc_interface.py to:

wallet = PersistentWallet(None, True)

The "True" is for testnet, so mainnet would probably be "False". This should actually come from the command flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions