mirror of
https://github.com/luxfi/threshold.git
synced 2026-10-30 15:15:53 +00:00
17 lines
572 B
Go
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 }
|