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