s/GetHash/Commit/g

This commit is contained in:
Jae Kwon
2016-02-14 13:11:06 -08:00
parent 851b961daf
commit 88fcacac7a
9 changed files with 48 additions and 48 deletions

View File

@ -83,7 +83,7 @@ func main() {
Name: "get_hash",
Usage: "Get application Merkle root hash",
Action: func(c *cli.Context) {
cmdGetHash(c)
cmdCommit(c)
},
},
{
@ -245,8 +245,8 @@ func cmdCheckTx(c *cli.Context) {
}
// Get application Merkle root hash
func cmdGetHash(c *cli.Context) {
res, err := makeRequest(conn, types.RequestGetHash())
func cmdCommit(c *cli.Context) {
res, err := makeRequest(conn, types.RequestCommit())
if err != nil {
fmt.Println(err.Error())
return