File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ type CreatedPeginQuote struct {
4646
4747type PeginCreationData struct {
4848 GasPrice * entities.Wei `json:"gasPrice" bson:"gas_price" validate:"required"`
49- FeePercentage * utils.BigFloat `json:"feePercentage" bson:"gte=0,lt=100,max_decimal_places=2 " validate:"required"`
49+ FeePercentage * utils.BigFloat `json:"feePercentage" bson:"fee_percentage " validate:"required"`
5050 FixedFee * entities.Wei `json:"fixedFee" bson:"fixed_fee" validate:"required"`
5151}
5252
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ type CreatedPegoutQuote struct {
5353
5454type PegoutCreationData struct {
5555 FeeRate * utils.BigFloat `json:"feeRate" bson:"fee_rate" validate:"required"`
56- FeePercentage * utils.BigFloat `json:"feePercentage" bson:"gte=0,lt=100,max_decimal_places=2 " validate:"required"`
56+ FeePercentage * utils.BigFloat `json:"feePercentage" bson:"fee_percentage " validate:"required"`
5757 GasPrice * entities.Wei `json:"gasPrice" bson:"gas_price" validate:"required"`
5858 FixedFee * entities.Wei `json:"fixedFee" bson:"fixed_fee" validate:"required"`
5959}
You can’t perform that action at this time.
0 commit comments