tendermint/common/panic.go

12 lines
92 B
Go

package common
import (
"fmt"
"os"
)
func Exit(s string) {
fmt.Printf(s)
os.Exit(1)
}