move broadcast_evidence rpc call from info to evidence (#5634)

This commit is contained in:
Callum Waters
2020-11-09 15:48:44 +01:00
committed by GitHub
parent bf35cc6443
commit ca46cbc781
2 changed files with 2 additions and 2 deletions

View File

@@ -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")

View File

@@ -1144,7 +1144,7 @@ paths:
type: string
example: "JSON_EVIDENCE_encoded"
tags:
- Info
- Evidence
description: |
Broadcast evidence of the misbehavior.
responses: