node, cmd/clef: remove term "whitelist" (#23296)

* node: remove term "whitelist"

* include cmd/clef
This commit is contained in:
baptiste-b-pegasys
2021-08-02 15:43:01 +02:00
committed by GitHub
parent 85afdeef37
commit 95bbd46eab
2 changed files with 9 additions and 9 deletions

View File

@ -657,7 +657,7 @@ func signer(c *cli.Context) error {
cors := utils.SplitAndTrim(c.GlobalString(utils.HTTPCORSDomainFlag.Name))
srv := rpc.NewServer()
err := node.RegisterApisFromWhitelist(rpcAPI, []string{"account"}, srv, false)
err := node.RegisterApis(rpcAPI, []string{"account"}, srv, false)
if err != nil {
utils.Fatalf("Could not register API: %w", err)
}