x/distribution: fix setting withdraw address (#8240)
This commit is contained in:
parent
d316013f77
commit
faad49688e
@ -29,7 +29,7 @@ func (k msgServer) SetWithdrawAddress(goCtx context.Context, msg *types.MsgSetWi
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
withdrawAddress, err := sdk.AccAddressFromBech32(msg.DelegatorAddress)
|
||||
withdrawAddress, err := sdk.AccAddressFromBech32(msg.WithdrawAddress)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user