This commit is contained in:
0xmuralik
2022-10-17 12:45:01 +05:30
parent a4f2cb5731
commit 74ed0f7e0f
18 changed files with 193 additions and 192 deletions
+4 -1
View File
@@ -134,7 +134,10 @@ func GetCmdCommitBid() *cobra.Command {
}
// Save reveal file.
ioutil.WriteFile(fmt.Sprintf("%s-%s.json", clientCtx.GetFromName(), commitHash), content, 0o600)
err = ioutil.WriteFile(fmt.Sprintf("%s-%s.json", clientCtx.GetFromName(), commitHash), content, 0o600)
if err != nil {
return err
}
msg := types.NewMsgCommitBid(auctionID, commitHash, clientCtx.GetFromAddress())
err = msg.ValidateBasic()