Skip to content

Commit

Permalink
Refactor: use println instead of printf
Browse files Browse the repository at this point in the history
  • Loading branch information
karacurt committed Nov 25, 2024
1 parent 37dea13 commit 74e8e18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions evm/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ func {{.DeployHandler.HandlerName}}() *cobra.Command {
if calldata {
deployCalldataHex := hex.EncodeToString(deployCalldata)
cmd.Printf(deployCalldataHex)
cmd.Println(deployCalldataHex)
return nil
}
Expand Down Expand Up @@ -1758,7 +1758,7 @@ func {{.HandlerName}}() *cobra.Command {
if calldata {
txCalldataHex := hex.EncodeToString(txCalldata)
cmd.Printf(txCalldataHex)
cmd.Println(txCalldataHex)
return nil
}
Expand Down
18 changes: 9 additions & 9 deletions examples/ownable-erc-721/OwnableERC721.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74e8e18

Please sign in to comment.