Skip to content

Commit

Permalink
remove duplicated import
Browse files Browse the repository at this point in the history
  • Loading branch information
stana-miric committed Dec 3, 2024
1 parent 4c76868 commit 844a465
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/distribution/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (

"cosmossdk.io/collections"
"cosmossdk.io/core/store"
"cosmossdk.io/errors"
errorsmod "cosmossdk.io/errors"
"cosmossdk.io/log"

Expand Down Expand Up @@ -233,7 +232,7 @@ func (k Keeper) WithdrawSingleShareRecordReward(ctx context.Context, recordID ui
owner := sdk.AccAddress(ownerAddr)

if k.bankKeeper.BlockedAddr(owner) {
return errors.Wrapf(sdkerrors.ErrUnauthorized, "%s is not allowed to receive funds", owner.String())
return errorsmod.Wrapf(sdkerrors.ErrUnauthorized, "%s is not allowed to receive funds", owner.String())
}

valAddr, err := k.stakingKeeper.ValidatorAddressCodec().StringToBytes(record.Validator)
Expand Down

0 comments on commit 844a465

Please sign in to comment.