fixed issue on unbonding

This commit is contained in:
liangping 2021-11-29 22:48:49 +08:00
parent 4910319be7
commit bcf4a16996

View File

@ -387,8 +387,8 @@ export default {
const txMsgs = [{ const txMsgs = [{
typeUrl: '/cosmos.staking.v1beta1.MsgUndelegate', typeUrl: '/cosmos.staking.v1beta1.MsgUndelegate',
value: { value: {
delegatorAddress: this.selectedAddress, delegatorAddress: this.address,
validatorAddress: this.selectedValidator, validatorAddress: this.validatorAddress,
amount: { amount: {
amount: getUnitAmount(this.amount, this.token), amount: getUnitAmount(this.amount, this.token),
denom: this.token, denom: this.token,