Files

17 lines
572 B
Go

package round
import "github.com/luxfi/threshold/pkg/party"
// Abort is an empty round containing a list of parties who misbehaved.
type Abort struct {
*Base
Culprits []party.ID
Err error
}
func (*Abort) VerifyMessage(Message) error { return nil }
func (*Abort) StoreMessage(Message) error { return nil }
func (r *Abort) Finalize(chan<- *Message) (Session, error) { return r, nil }
func (*Abort) MessageContent() Content { return nil }
func (*Abort) Number() Number { return 0 }