Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

美图dpos问题讨论加群助手 #4

Open
liguangbo opened this issue Sep 18, 2018 · 4 comments
Open

美图dpos问题讨论加群助手 #4

liguangbo opened this issue Sep 18, 2018 · 4 comments

Comments

@liguangbo
Copy link
Collaborator

_5fa2d62b-b010-4334-b5c7-4ab5e3387913

@mingjingc
Copy link

在 dpos_context.og
NewTrieWithPrefix的参数db类型是trie.Database,和ethdb.Database没有任何父子类等关系,这是一个bug吗?
func NewEpochTrie(root common.Hash, db ethdb.Database) (*trie.Trie, error) { return trie.NewTrieWithPrefix(root, epochPrefix, db) }

@darmie
Copy link

darmie commented Mar 15, 2019

I am facing the same issue. Is there a fix?

@asdasdasda1245
Copy link

consensus/clique/clique.go:239:2: not enough arguments to return
have (common.Address)
want (common.Address, error)

github.com/meitu/go-ethereum/vendor/github.com/rjeczalik/notify

vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:51:216: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:162:47: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCStringNoCopy
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:163:225: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
util.go:45: exit status 2
exit status 1
make: *** [all] Error 1

这个是什么原因?

@exgolang
Copy link

consensus / clique / clique.go: 239: 2: недостаточно аргументов для возврата
есть (common.Address)
want (common.Address, error)

github.com/meitu/go-ethereum/vendor/github.com/rjeczalik/notify

vendor / github.com / rjeczalik / notify / watcher_fsevents_cgo.go: 51: 216: нельзя использовать nil в качестве типа _Ctype_CFAllocatorRef в аргументе для функции литерал
vendor / github.com / rjeczalik / notify / watcher_fsevents_cgo.go: 162: 47: нельзя использовать как тип _Ctype_CFAllocatorRef в аргументе _Cfunc_CFStringCreateWithCStringNoCopy
vendor / github.com / rjeczalik / notify / watcher_fsevents_cgo.go: 163: 225: нельзя использовать nil как тип _Ctype_CFAllocatorRef в
выходном состоянии: выходить из состояния 2: использовать 2: использовать для выхода
из состояния
: выполнить 2: выполнить: сделать 2: выполнить: сделать 2 *** [все] Ошибка 1

这个 是 什么 原因?

return header.Coinbase, nil

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants