Skip to content

error Lottery #116

@jjhesk

Description

@jjhesk

just testing on the method var Contract plugin.Contract = contract.MakePluginContract(&Lottery{}) representing in here https://github.com/loomnetwork/go-loom/blob/master/examples/plugins/lottery/lottery.go#L41

panic: "contract" has no exported methods of suitable type

goroutine 1 [running]:
github.com/loomnetwork/go-loom/plugin/contractpb.MakePluginContract(0x19f7020, 0x1eb1e40, 0x154fb0852c45f43a, 0xc42020d550)
/Users/hesk/go/src/github.com/loomnetwork/go-loom/plugin/contractpb/contractpb.go:140 +0x8a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions