mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fixed incorrect call to register apis from whitelist in clef/main.go
This commit is contained in:
parent
51c6d696f6
commit
03172faf69
1 changed files with 1 additions and 1 deletions
|
|
@ -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?
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue