mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-27 11:41:39 +00:00
s/GetHash/Commit/g
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user