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

@@ -48,9 +48,9 @@ func RequestCheckTx(txBytes []byte) *Request {
}
}
func RequestGetHash() *Request {
func RequestCommit() *Request {
return &Request{
Type: MessageType_GetHash,
Type: MessageType_Commit,
}
}
@@ -115,9 +115,9 @@ func ResponseCheckTx(code CodeType, result []byte, log string) *Response {
}
}
func ResponseGetHash(hash []byte, log string) *Response {
func ResponseCommit(hash []byte, log string) *Response {
return &Response{
Type: MessageType_GetHash,
Type: MessageType_Commit,
Data: hash,
Log: log,
}