cmd: fix query height
This commit is contained in:
parent
0b77bcfce6
commit
bc6c79ef04
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue