cmd: fix query height

This commit is contained in:
Ethan Buchman 2017-02-13 21:28:48 -05:00
parent 0b77bcfce6
commit bc6c79ef04
1 changed files with 1 additions and 5 deletions

View File

@ -133,11 +133,7 @@ func cmdBlock(c *cli.Context) error {
return errors.New(cmn.Fmt("Height must be an int, got %v: %v", heightString, err))
}
/*block, err := getBlock(c, height)
if err != nil {
return err
}*/
nextBlock, err := getBlock(c, height+1)
nextBlock, err := getBlock(c, height)
if err != nil {
return err
}