2

In etherum wallet I am getting an error of no key for given address or file during deployment of the contract. What will be the reason for the same?

Screenshot

contract User{

    string public userName;

    function User(string _name){

     userName = _name;

    }

}
  • It was fixed when you restarted it, right? – Xavier Leprêtre B9lab Aug 25 '16 at 11:18
  • Yaa it got fixed when I restarted it.Also came to know that it happened because of key not matching.But now sure why when I restarted, it got resolved. – M Pabari Aug 25 '16 at 11:20
  • It's totally okay to answer your own question. This will help users in the future who may face the same problems. Thanks! – Afr Aug 26 '16 at 13:11
  • What do you mean by "restarting"? Can someone provide a more robust answer? – fraxture May 7 '18 at 15:44
1

I have solved this problem by restating the wallet.Just close the wallet one time and open it again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.