send BeginBlock

This commit is contained in:
Ethan Buchman
2016-11-03 19:51:22 -04:00
parent 480f44f16c
commit 94ac890859

View File

@@ -89,7 +89,12 @@ func (s *State) execBlockOnProxyApp(eventCache types.Fireable, proxyAppConn prox
}
proxyAppConn.SetResponseCallback(proxyCb)
// TODO: BeginBlock
// Begin block
err := proxyAppConn.BeginBlockSync(uint64(block.Height))
if err != nil {
log.Warn("Error in proxyAppConn.BeginBlock", "error", err)
return err
}
// Run txs of block
for _, tx := range block.Txs {