Skip to content

Commit

Permalink
Merge branch 'develop' into fix-root-cause-of-self-ref-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyletang authored Sep 4, 2024
2 parents b2a9dbc + f243b4f commit 41799c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datanode/gateway/graphql/volume_rebate_program_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"errors"
"math"

"code.vegaprotocol.io/vega/libs/ptr"
v2 "code.vegaprotocol.io/vega/protos/data-node/api/v2"
)

Expand All @@ -32,6 +33,7 @@ func (r *volumeRebateProgramResolver) BenefitTiers(ctx context.Context, obj *v2.
tiers = append(tiers, &VolumeRebateBenefitTier{
MinimumPartyMakerVolumeFraction: tier.MinimumPartyMakerVolumeFraction,
AdditionalMakerRebate: tier.AdditionalMakerRebate,
TierNumber: ptr.From(int(ptr.UnBox(tier.TierNumber))),
})
}
return tiers, nil
Expand Down

0 comments on commit 41799c3

Please sign in to comment.