Skip to content

HTTP POST /api/delegates/forging/enable does not work #36

Description

@a1300

Version

asch: master branch, AschPlatform/asch@c071abf
asch-core: v1.4.4

Environment

node: v8.11.3
linux: Kubuntu 4.15.0-34-generic

Steps to reproduce

1

Remove the following secret (praise modify banner vacant steak forest gravity code scene ensure street note) from the config.json file:

-    "secret": [
-      "praise modify banner vacant steak forest gravity code scene ensure street note",
-      "unusual rack law junior patient blood mule element conduct stock vibrant light",
-      "wheel chalk dutch wash fall latin receive pact test arch father bullet",
+    "secret": [
+     "unusual rack law junior patient blood mule element conduct stock vibrant light",
+     "wheel chalk dutch wash fall latin receive pact test arch father bullet",

2

Execute in terminal:

./aschd enable "praise modify banner vacant steak forest gravity code scene ensure street note"

What is expected?

What is actually happening?

Thoughs

The following line at asch-core/src/core/delgates.js does not work:

return modules.accounts.getAccount({ publicKey: keypair.publicKey.toString('hex') }, (err2, account) => {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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