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

Commit 4374ba4

Browse files
committed
cmd/swarm,pss,swap: fixed linter errors S1038/S1039
1 parent 1db1241 commit 4374ba4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/swarm/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ func keys(ctx *cli.Context) error {
286286
fmt.Print(fmt.Sprintf("bzzkey=%s", bzzkey[2:]), "\n")
287287
fmt.Print(fmt.Sprintf("publicKey=%s", pubkeyhex), "\n")
288288
}
289-
fmt.Println(fmt.Sprintf("publicKeyCompressed=%s", pubCompressed))
289+
fmt.Print(fmt.Sprintf("publicKeyCompressed=%s", pubCompressed), "\n")
290290

291291
return nil
292292
}

cmd/swarm/upload_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func testRecursive(t *testing.T, cluster *testCluster, toEncrypt bool) {
215215
tmpUploadDir}
216216
}
217217
// upload the file with 'swarm up' and expect a hash
218-
log.Info(fmt.Sprintf("uploading file with 'swarm up'"))
218+
log.Info("uploading file with 'swarm up'")
219219
up := runSwarm(t, flags...)
220220
_, matches := up.ExpectRegexp(hashRegexp)
221221
up.ExpectExit()

0 commit comments

Comments
 (0)