Files
atomic-swap/protocol/errors.go

14 lines
405 B
Go

package protocol
import (
"errors"
)
var (
// ErrLogNotForUs is returned when a log is found that doesn't have the given contract swap ID.
ErrLogNotForUs = errors.New("found log that isn't for our swap")
errLogMissingParams = errors.New("log didn't have enough parameters")
errInvalidSecp256k1Key = errors.New("secp256k1 public key resulting from proof verification does not match key sent")
)