fixed incorrect call to register apis from whitelist in clef/main.go

This commit is contained in:
renaynay 2020-03-30 16:21:52 +02:00
parent 51c6d696f6
commit 03172faf69
No known key found for this signature in database
GPG key ID: 731E44FAAFCD0274

View file

@ -541,7 +541,7 @@ func signer(c *cli.Context) error {
srv := rpc.NewServer()
err := node.RegisterApisFromWhitelist(rpcAPI, []string{"account"}, srv)
err := node.RegisterApisFromWhitelist(rpcAPI, []string{"account"}, srv, false)
if err != nil {
utils.Fatalf("Could not register API: %w", err) // TODO should this be a fatal failure?
}