Skip to content

第八章中的:_faucet = (new Faucet).value(0.5 ether)(); #10

@CyberFork

Description

@CyberFork

在编译时会报错:TypeError: Member "value" not found or not visible after argument-dependent lookup in function () returns (contract Faucet) - did you forget the "payable" modifier?

是否翻译漏掉或者错误?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions