Skip to content

Commit

Permalink
Merge pull request lavanet#1297 from lavanet/CNS-fix-relay-gas-price
Browse files Browse the repository at this point in the history
CNS-fix-relay-gas-price
  • Loading branch information
Yaroms authored Mar 13, 2024
2 parents 1cf1158 + b1c8eb3 commit 78d82cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/pairing/keeper/msg_server_relay_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (k msgServer) RelayPayment(goCtx context.Context, msg *types.MsgRelayPaymen
// fail the TX ***

totalCUInEpochForUserProvider := k.Keeper.AddEpochPayment(ctx, relay.SpecId, epochStart, project.Index, providerAddr, relay.CuSum, strconv.FormatUint(relay.SessionId, 16))

ctx.GasMeter().RefundGas(ctx.GasMeter().GasConsumed(), "")
if badgeFound {
k.handleBadgeCu(ctx, badgeData, relay.Provider, relay.CuSum, newBadgeTimerExpiry)
}
Expand Down

0 comments on commit 78d82cb

Please sign in to comment.