From ae0858df3d6d948eefcd48f9038d75aefd8e60da Mon Sep 17 00:00:00 2001 From: Pantani Date: Thu, 18 Mar 2021 12:02:18 -0300 Subject: [PATCH 1/2] fix the serve api flags --- cli/node/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/node/main.go b/cli/node/main.go index e294d84..a6fa499 100644 --- a/cli/node/main.go +++ b/cli/node/main.go @@ -484,6 +484,7 @@ func main() { Aliases: []string{}, Usage: "Serve the API only", Action: cmdServeAPI, + Flags: flags, }, { Name: "discard", From dc198c35ae1c22133f282ae979e1f29d063e0f7d Mon Sep 17 00:00:00 2001 From: Pantani Date: Fri, 19 Mar 2021 22:44:51 -0300 Subject: [PATCH 2/2] fix import key command into the example script --- cli/node/load-sk-example.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/node/load-sk-example.sh b/cli/node/load-sk-example.sh index 03f5ad7..3f99342 100755 --- a/cli/node/load-sk-example.sh +++ b/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