Skip to content

Commit

Permalink
common: fixes format verb (ethereum#23495)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderYastrebov authored and gzliudan committed Dec 19, 2024
1 parent ad2463c commit a9a8340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (h Hash) String() string {
}

// Format implements fmt.Formatter.
// Hash supports the %v, %s, %v, %x, %X and %d format verbs.
// Hash supports the %v, %s, %q, %x, %X and %d format verbs.
func (h Hash) Format(s fmt.State, c rune) {
hexb := make([]byte, 2+len(h)*2)
copy(hexb, "0x")
Expand Down

0 comments on commit a9a8340

Please sign in to comment.