updated to match adr 005

This commit is contained in:
Ethan Buchman
2017-09-21 14:51:29 -04:00
parent d343560108
commit 3a03fe5a15
5 changed files with 84 additions and 23 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ func (bcR *BlockchainReactor) Receive(chID byte, src p2p.Peer, msgBytes []byte)
// maxMsgSize returns the maximum allowable size of a
// message on the blockchain reactor.
func (bcR *BlockchainReactor) maxMsgSize() int {
return bcR.state.Params().MaxBlockSizeBytes + 2
return bcR.state.Params().BlockSizeParams.MaxBytes + 2
}
// Handle messages from the poolReactor telling the reactor what to do.