mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-21 00:46:32 +00:00
Update protocol buffers
This commit is contained in:
@ -23,7 +23,7 @@ type Application interface {
|
||||
Query(query []byte) Result
|
||||
|
||||
// Get proof for state
|
||||
Proof(key []byte, blockHeight int) Result
|
||||
Proof(key []byte, blockHeight int64) Result
|
||||
|
||||
// Return the application Merkle root hash
|
||||
Commit() Result
|
||||
@ -85,7 +85,7 @@ func (app *GRPCApplication) Query(ctx context.Context, req *RequestQuery) (*Resp
|
||||
return &ResponseQuery{r.Code, r.Data, r.Log}, nil
|
||||
}
|
||||
|
||||
func (app *GRPCApplication) Proof(ctx context.Context, req *RequestProof) (*ResponseQuery, error) {
|
||||
func (app *GRPCApplication) Proof(ctx context.Context, req *RequestProof) (*ResponseProof, error) {
|
||||
r := app.app.Proof(req.Key, req.Height)
|
||||
return &ResponseProof{r.Code, r.Data, r.Log}, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user