Skip to content

Can't use commands that need to open wallet via JSON-RPC #305

@chenzhitong

Description

@chenzhitong

Can't use commands that need to open wallet via JSON-RPC, like getbalancedumpprivkey.
I guess because there is no value given to "wallet" in the following code.

public RpcServer(NeoSystem system, Wallet wallet = null)
{
this.system = system;
this.wallet = wallet;
}

neo/neo/NeoSystem.cs

Lines 57 to 61 in 18be40a

public void StartRpc(int port, string sslCert = null, string password = null)
{
rpcServer = new RpcServer(this);
rpcServer.Start(port, sslCert, password);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugUsed to tag confirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions