Skip to content

Commit

Permalink
other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarom Swisa authored and Yarom Swisa committed Feb 28, 2024
1 parent c8d22db commit f06d3ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
18 changes: 8 additions & 10 deletions x/dualstaking/keeper/msg_server_unbond.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,14 @@ func (k Keeper) UnbondFull(ctx sdk.Context, delegator string, validator string,
return err
}

if err == nil {
logger := k.Logger(ctx)
details := map[string]string{
"delegator": delegator,
"provider": provider,
"chainID": chainID,
"amount": amount.String(),
}
utils.LogLavaEvent(ctx, logger, types.UnbondingEventName, details, "Unbond")
logger := k.Logger(ctx)
details := map[string]string{
"delegator": delegator,
"provider": provider,
"chainID": chainID,
"amount": amount.String(),
}
utils.LogLavaEvent(ctx, logger, types.UnbondingEventName, details, "Unbond")

return err
return nil
}
9 changes: 0 additions & 9 deletions x/rewards/types/iprpc_data.go

This file was deleted.

0 comments on commit f06d3ae

Please sign in to comment.