Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlavanet committed Apr 16, 2022
1 parent e338e33 commit 15a0180
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 @@ -98,7 +98,7 @@ func (k msgServer) RelayPayment(goCtx context.Context, msg *types.MsgRelayPaymen
panic(fmt.Sprintf("failed to get spec for index: %d", relay.ChainID))
}
burnAmount := sdk.Coin{Amount: amountToBurnClient, Denom: "stake"}
burnSucceeded, err2 := k.userKeeper.BurnUserStake(ctx, usertypes.SpecName{Name: spec.Name}, clientAddr, burnAmount, false)
burnSucceeded, err2 := k.BurnClientStake(ctx, spec.Name, clientAddr, burnAmount, false)
if err2 != nil {
details["amountToBurn"] = burnAmount.String()
details["error"] = err2.Error()
Expand Down

0 comments on commit 15a0180

Please sign in to comment.