fixes from review

This commit is contained in:
Ethan Buchman
2017-08-08 17:09:04 -04:00
parent d2f3e9faf4
commit 0bf66deb3c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ func (cfg *ConsensusConfig) WaitForTxs() bool {
}
// EmptyBlocks returns the amount of time to wait before proposing an empty block or starting the propose timer if there are no txs available
func (cfg *ConsensusConfig) EmptyBlocks() time.Duration {
func (cfg *ConsensusConfig) EmptyBlocksInterval() time.Duration {
return time.Duration(cfg.CreateEmptyBlocksInterval) * time.Second
}