Skip to content

Commit

Permalink
changed tolerance flag type to uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashk767 committed Oct 18, 2022
1 parent 7fb0704 commit 4e314e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/updateCollection.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func init() {
Password string
Power int8
JobIds []uint
Tolerance uint16
Tolerance uint32
)

updateCollectionCmd.Flags().StringVarP(&Account, "address", "a", "", "address of the job creator")
Expand All @@ -124,7 +124,7 @@ func init() {
updateCollectionCmd.Flags().Int8VarP(&Power, "power", "", 0, "multiplier for the collection")
updateCollectionCmd.Flags().StringVarP(&Password, "password", "", "", "password path of job creator to protect the keystore")
updateCollectionCmd.Flags().UintSliceVarP(&JobIds, "jobIds", "", []uint{}, "job ids for the collection")
updateCollectionCmd.Flags().Uint16VarP(&Tolerance, "tolerance", "", 0, "tolerance")
updateCollectionCmd.Flags().Uint32VarP(&Tolerance, "tolerance", "", 0, "tolerance")

collectionIdErr := updateCollectionCmd.MarkFlagRequired("collectionId")
utils.CheckError("Collection Id error: ", collectionIdErr)
Expand Down

0 comments on commit 4e314e6

Please sign in to comment.