mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
AppendTx -> DeliverTx
This commit is contained in:
@ -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}},
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user