fix block pointer in AddBlock arg

This commit is contained in:
zelig 2015-01-03 13:57:57 +00:00
parent a77468bddd
commit b63ca7a01a

View file

@ -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: