강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

successlife2172050 のプロフィール画像
successlife2172050

投稿した質問数

Ethereum本番!初心者向けのLottery Dappの開発

Lottery DomainとQueueのデザイン

address payable error

作成

·

355

0

I am getting the error in solidity 0.8.7
 
 
 
 
Ethereumdapp

回答 1

0

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

해결하셨나요? 저도 이문제 때문에 한참 찾고있습니다만 모르겠네요 ㅠ

successlife2172050 のプロフィール画像
successlife2172050

投稿した質問数

質問する