Fix forms

This commit is contained in:
abefernan 2023-05-22 12:09:27 +02:00
parent 11b1bd531c
commit 430ca30c40
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ const MsgDelegateForm = ({ delegatorAddress, setCheckAndGetMsg }: MsgDelegateFor
value: {
delegatorAddress,
validatorAddress,
amount: [{ amount: amountInAtomics, denom: state.chain.denom }],
amount: { amount: amountInAtomics, denom: state.chain.denom },
},
};

View File

@ -59,7 +59,7 @@ const MsgRedelegateForm = ({ delegatorAddress, setCheckAndGetMsg }: MsgRedelegat
delegatorAddress,
validatorSrcAddress,
validatorDstAddress,
amount: [{ amount: amountInAtomics, denom: state.chain.denom }],
amount: { amount: amountInAtomics, denom: state.chain.denom },
},
};

View File

@ -48,7 +48,7 @@ const MsgUndelegateForm = ({ delegatorAddress, setCheckAndGetMsg }: MsgUndelegat
value: {
delegatorAddress,
validatorAddress,
amount: [{ amount: amountInAtomics, denom: state.chain.denom }],
amount: { amount: amountInAtomics, denom: state.chain.denom },
},
};