fixing buy flux

This commit is contained in:
brunoedcf 2022-12-22 17:18:21 -03:00
parent 8b5b3fe0ed
commit a7a30f5018
2 changed files with 0 additions and 23 deletions

View File

@ -270,25 +270,6 @@
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_addr",
"type": "address"
}
],
"name": "_castAddrToKey",
"outputs": [
{
"internalType": "uint256",
"name": "_key",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{

View File

@ -32,10 +32,6 @@ const confirmBuyClick = async ({ selectedDeposit, tokenValue }: any) => {
const depositId = selectedDeposit.depositID;
pixTarget.value = selectedDeposit.pixKey;
tokenAmount.value = tokenValue;
// depositId is BigNumber type object
tokenAmount.value = tokenValue;
pixTarget.value = String(depositDetail?.pixTarget);
// Makes lock with deposit ID and the Amount
if (depositDetail) {