forked from cerc-io/plugeth
common: rename unused function with typo (#23025)
This function is not used in the code base, so probably safe to do rename, or remove in its entirety, but I'm assuming the logic from the original creator still applies so rename probably better.
This commit is contained in:
parent
1fc0eba50d
commit
a2ea537a6f
@ -37,8 +37,8 @@ func Report(extra ...interface{}) {
|
|||||||
fmt.Fprintln(os.Stderr, "#### BUG! PLEASE REPORT ####")
|
fmt.Fprintln(os.Stderr, "#### BUG! PLEASE REPORT ####")
|
||||||
}
|
}
|
||||||
|
|
||||||
// PrintDepricationWarning prinst the given string in a box using fmt.Println.
|
// PrintDeprecationWarning prints the given string in a box using fmt.Println.
|
||||||
func PrintDepricationWarning(str string) {
|
func PrintDeprecationWarning(str string) {
|
||||||
line := strings.Repeat("#", len(str)+4)
|
line := strings.Repeat("#", len(str)+4)
|
||||||
emptyLine := strings.Repeat(" ", len(str))
|
emptyLine := strings.Repeat(" ", len(str))
|
||||||
fmt.Printf(`
|
fmt.Printf(`
|
||||||
|
Loading…
Reference in New Issue
Block a user