mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
fix block pointer in AddBlock arg
This commit is contained in:
parent
a77468bddd
commit
b63ca7a01a
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ func (self *ethProtocol) handle() error {
|
|||
return self.protoError(ErrDecode, "msg %v: %v", msg, err)
|
||||
}
|
||||
}
|
||||
self.blockPool.AddBlock(block, self.id)
|
||||
self.blockPool.AddBlock(&block, self.id)
|
||||
}
|
||||
|
||||
case NewBlockMsg:
|
||||
|
|
|
|||
Loading…
Reference in a new issue