mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-30 13:11:38 +00:00
make Block Header and Data non-pointers
make BlockMeta Header a non-pointer Refs #693
This commit is contained in:
@ -134,7 +134,7 @@ func newBlockCallback(n *Node) em.EventCallbackFunc {
|
||||
n.logger.Info("new block", "height", block.Height, "numTxs", block.NumTxs)
|
||||
|
||||
if n.blockCh != nil {
|
||||
n.blockCh <- *block
|
||||
n.blockCh <- block
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user