Beispiel #1
0
func SignSymbol(s data.Signer) string {
	if valid, err := data.CheckSignature(s); !valid || err != nil {
		return "✗"
	}
	return "✓"
}
Beispiel #2
0
func SignSymbol(s data.Signer) string {
	valid, err := data.CheckSignature(s)
	return BoolSymbol(!valid || err != nil)
}