Skip to content

Commit

Permalink
common: rename unused function with typo (ethereum#23025)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paularmand authored Jun 10, 2021
1 parent 1fc0eba commit a2ea537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func Report(extra ...interface{}) {
fmt.Fprintln(os.Stderr, "#### BUG! PLEASE REPORT ####")
}

// PrintDepricationWarning prinst the given string in a box using fmt.Println.
func PrintDepricationWarning(str string) {
// PrintDeprecationWarning prints the given string in a box using fmt.Println.
func PrintDeprecationWarning(str string) {
line := strings.Repeat("#", len(str)+4)
emptyLine := strings.Repeat(" ", len(str))
fmt.Printf(`
Expand Down

0 comments on commit a2ea537

Please sign in to comment.