Browse Source

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

pull/5639/head
Callum Waters 4 years ago
committed by GitHub
parent
commit
ca46cbc781
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      rpc/core/evidence.go
  2. +1
    -1
      rpc/openapi/openapi.yaml

+ 1
- 1
rpc/core/evidence.go 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")


+ 1
- 1
rpc/openapi/openapi.yaml View File

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


Loading…
Cancel
Save