Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
cmd/swarm,pss,swap: fixed linter errors S1038/S1039
Browse files Browse the repository at this point in the history
  • Loading branch information
santicomp2014 committed Mar 12, 2020
1 parent 1db1241 commit 4374ba4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/swarm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func keys(ctx *cli.Context) error {
fmt.Print(fmt.Sprintf("bzzkey=%s", bzzkey[2:]), "\n")
fmt.Print(fmt.Sprintf("publicKey=%s", pubkeyhex), "\n")
}
fmt.Println(fmt.Sprintf("publicKeyCompressed=%s", pubCompressed))
fmt.Print(fmt.Sprintf("publicKeyCompressed=%s", pubCompressed), "\n")

return nil
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/swarm/upload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func testRecursive(t *testing.T, cluster *testCluster, toEncrypt bool) {
tmpUploadDir}
}
// upload the file with 'swarm up' and expect a hash
log.Info(fmt.Sprintf("uploading file with 'swarm up'"))
log.Info("uploading file with 'swarm up'")
up := runSwarm(t, flags...)
_, matches := up.ExpectRegexp(hashRegexp)
up.ExpectExit()
Expand Down

0 comments on commit 4374ba4

Please sign in to comment.