AppendTx -> DeliverTx

This commit is contained in:
Ethan Buchman
2017-01-12 15:27:08 -05:00
parent 2e414ebe6b
commit 80f377135b
28 changed files with 168 additions and 168 deletions

View File

@ -31,9 +31,9 @@ func ToRequestSetOption(key string, value string) *Request {
}
}
func ToRequestAppendTx(txBytes []byte) *Request {
func ToRequestDeliverTx(txBytes []byte) *Request {
return &Request{
Value: &Request_AppendTx{&RequestAppendTx{txBytes}},
Value: &Request_DeliverTx{&RequestDeliverTx{txBytes}},
}
}
@ -105,9 +105,9 @@ func ToResponseSetOption(log string) *Response {
}
}
func ToResponseAppendTx(code CodeType, data []byte, log string) *Response {
func ToResponseDeliverTx(code CodeType, data []byte, log string) *Response {
return &Response{
Value: &Response_AppendTx{&ResponseAppendTx{code, data, log}},
Value: &Response_DeliverTx{&ResponseDeliverTx{code, data, log}},
}
}