![](/img/trans.png)
[英]I'm not very good in coding and I'm having a few problems with my Hangman Game
[英]I'm having problems writing test for my Solidity contract?
您的代码中有一个小错字,也许这已经解决了您的问题:
在您的代码中,您写道:
let LifeInsurance = null;
/* and then */
lifeInsurance = await LifeInsurance.deployed();
注意 LifeInsurance 与 lifeInsurance 的小错字
我认为你的代码应该是这样的
let lifeInsurance = null; // small "L" here
/* and then */
lifeInsurance = await LifeInsurance.deployed();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.