Skip to content

Commit

Permalink
rewrite if
Browse files Browse the repository at this point in the history
  • Loading branch information
attente committed Sep 6, 2024
1 parent 5679a31 commit ad7994c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/ethkit/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ func formatFloat(f any) string {
}

func base64ToHex(str any) any {
_, ok := str.(string)
if !ok {
if _, ok := str.(string); !ok {
return str
}
decoded, err := base64.StdEncoding.DecodeString(str.(string))
Expand Down

0 comments on commit ad7994c

Please sign in to comment.