작성한 질문수
Ethereum 실전! 초보자를 위한 Lottery Dapp 개발
Lottery Domain 및 Queue 설계
작성
·
277
0
답변 1
try:b.bettor = payable(msg.sender);
Error lottery_smart_contract/contracts/Lottery.sol: ParsedContract.sol:55:20: ParserError: Expected primary expression.
b.bettor = payable(msg.sender);
^-----^
Compilation failed. See above.
Truffle v5.0.2 (core: 5.0.2)
Node v12.22.9
해결하셨나요? 저도 이문제 때문에 한참 찾고있습니다만 모르겠네요 ㅠ
Error lottery_smart_contract/contracts/Lottery.sol: ParsedContract.sol:55:20: ParserError: Expected primary expression.
b.bettor = payable(msg.sender);
^-----^
Compilation failed. See above.
Truffle v5.0.2 (core: 5.0.2)
Node v12.22.9