Browse Source

Merge pull request #650 from hermeznetwork/fix/serveapi-flags

fix the application initialization flags
feature/fastsync-skip-updateeth
arnau 3 years ago
committed by GitHub
parent
commit
e2f9a1d7eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions
  1. +3
    -3
      cli/node/load-sk-example.sh
  2. +1
    -0
      cli/node/main.go

+ 3
- 3
cli/node/load-sk-example.sh

@ -1,10 +1,10 @@
#!/bin/sh
# Non-Boot Coordinator
go run . --mode coord --cfg cfg.buidler.toml importkey --privatekey 0x30f5fddb34cd4166adb2c6003fa6b18f380fd2341376be42cf1c7937004ac7a3
go run . importkey --mode coord --cfg cfg.buidler.toml --privatekey 0x30f5fddb34cd4166adb2c6003fa6b18f380fd2341376be42cf1c7937004ac7a3
# Boot Coordinator
go run . --mode coord --cfg cfg.buidler.toml importkey --privatekey 0xa8a54b2d8197bc0b19bb8a084031be71835580a01e70a45a13babd16c9bc1563
go run . importkey --mode coord --cfg cfg.buidler.toml --privatekey 0xa8a54b2d8197bc0b19bb8a084031be71835580a01e70a45a13babd16c9bc1563
# FeeAccount
go run . --mode coord --cfg cfg.buidler.toml importkey --privatekey 0x3a9270c020e169097808da4b02e8d9100be0f8a38cfad3dcfc0b398076381fdd
go run . importkey --mode coord --cfg cfg.buidler.toml --privatekey 0x3a9270c020e169097808da4b02e8d9100be0f8a38cfad3dcfc0b398076381fdd

+ 1
- 0
cli/node/main.go

@ -485,6 +485,7 @@ func main() {
Aliases: []string{},
Usage: "Serve the API only",
Action: cmdServeAPI,
Flags: flags,
},
{
Name: "discard",

Loading…
Cancel
Save