From ca46cbc781ea6bcf54daa7b0db38cc5639683e28 Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Mon, 9 Nov 2020 15:48:44 +0100 Subject: [PATCH] move broadcast_evidence rpc call from info to evidence (#5634) --- rpc/core/evidence.go | 2 +- rpc/openapi/openapi.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/core/evidence.go b/rpc/core/evidence.go index b8fd2e2e2..52990526d 100644 --- a/rpc/core/evidence.go +++ b/rpc/core/evidence.go @@ -10,7 +10,7 @@ import ( ) // BroadcastEvidence broadcasts evidence of the misbehavior. -// More: https://docs.tendermint.com/master/rpc/#/Info/broadcast_evidence +// More: https://docs.tendermint.com/master/rpc/#/Evidence/broadcast_evidence func BroadcastEvidence(ctx *rpctypes.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) { if ev == nil { return nil, errors.New("no evidence was provided") diff --git a/rpc/openapi/openapi.yaml b/rpc/openapi/openapi.yaml index 2956b0fe5..7473b8620 100644 --- a/rpc/openapi/openapi.yaml +++ b/rpc/openapi/openapi.yaml @@ -1144,7 +1144,7 @@ paths: type: string example: "JSON_EVIDENCE_encoded" tags: - - Info + - Evidence description: | Broadcast evidence of the misbehavior. responses: