Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Aug 12, 2024
1 parent e69e1cc commit a5b0281
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/api/event_converters.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,16 +699,6 @@ func (h *Handler) convertAction(ctx context.Context, viewer *tongo.AccountID, a
if op == "JettonCallTo" { //todo: remove after end of april 2024
op = "JettonAdminAction"
}
switch a.SmartContractExec.Operation {
case string(bath.TfUpdateValidatorSet):
op = "Update validator set"
case string(bath.TfProcessPendingWithdrawRequests):
op = "Process pending withdraw requests"
case string(bath.TfDepositStakeRequest):
op = "Request sending stake to Elector"
case string(bath.TfRecoverStakeRequest):
op = "Request Elector to recover stake"
}
contractAction := oas.SmartContractAction{
Executor: convertAccountAddress(a.SmartContractExec.Executor, h.addressBook),
Contract: convertAccountAddress(a.SmartContractExec.Contract, h.addressBook),
Expand Down

0 comments on commit a5b0281

Please sign in to comment.