fixes from review

This commit is contained in:
Ethan Buchman
2016-12-12 14:12:13 -05:00
parent 8390e88e27
commit b212aa0db3
4 changed files with 24 additions and 12 deletions

View File

@ -9,6 +9,7 @@ import (
//-----------------------------------------------------------------------------
// TODO: limit/permission on (max - min)
func BlockchainInfo(minHeight, maxHeight int) (*ctypes.ResultBlockchainInfo, error) {
if maxHeight == 0 {
maxHeight = blockStore.Height()