Skip to content

There are some mistakes after running make install #1

@chien72

Description

@chien72

After I git this repo under chainsapce.io/blockmania
I cd into blockmania and type "make install"
It gave me the error:
broadcast/broadcast.go:991:6: opts.Dir undefined (type func(string) badger.Options has no field or method Dir)
broadcast/broadcast.go:992:6: opts.ValueDir undefined (type func(string) badger.Options has no field or method ValueDir)
broadcast/broadcast.go:992:22: opts.Dir undefined (type func(string) badger.Options has no field or method Dir)
broadcast/broadcast.go:993:24: cannot use opts (type func(string) badger.Options) as type badger.Options in argument to badger.Open
broadcast/replay.go:15:6: opts.Dir undefined (type func(string) badger.Options has no field or method Dir)
broadcast/replay.go:16:6: opts.ValueDir undefined (type func(string) badger.Options has no field or method ValueDir)
broadcast/replay.go:16:22: opts.Dir undefined (type func(string) badger.Options has no field or method Dir)
broadcast/replay.go:17:24: cannot use opts (type func(string) badger.Options) as type badger.Options in argument to badger.Open
broadcast/store.go:56:12: assignment mismatch: 2 variables but item.Value returns 1 values
broadcast/store.go:56:25: not enough arguments in call to item.Value
have ()
want (func([]byte) error)
broadcast/store.go:56:12: too many errors
make: *** [install] Error 2

Do you have any idea how to fix it?

Sincerely,
Andy

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