1

I am using Ubuntu 18.04-3 and when executing the command >

personal.unlockAccount(web3.eth.accounts[0],null)

I am getting the following error, enter image description here

I tried some of the suggestions here (enter link description here)

and the suggestions (here) for the internal/ethapi/api.go

I included in the file --allow-insecure-unlock (//I have add as in the suggestions but does not indicate where and how to place it//)

Appreciate your time in advance

Lucas
  • 11
  • 4

1 Answers1

1

You have places --allow-insecure-unlock at the wrong place. It should be when starting geth instant.

Example:

$ geth {--rpc etc your other flags} --allow-insecure-unlock 
Ming
  • 729
  • 3
  • 10