ACK and incorporate @cwgoes comments

This commit is contained in:
Alessio Treglia
2018-09-07 15:27:06 +01:00
parent e6a8a4df55
commit f5a7f2524f
3 changed files with 3 additions and 3 deletions
-1
View File
@@ -442,7 +442,6 @@ func unmarshalStdTx(t *testing.T, s string) (stdTx auth.StdTx) {
func writeToNewTempFile(t *testing.T, s string) *os.File {
fp, err := ioutil.TempFile(os.TempDir(), "cosmos_cli_test_")
require.Nil(t, err)
// defer os.Remove(signedTxFile.Name())
_, err = fp.WriteString(s)
require.Nil(t, err)
return fp