Merge branch 'sairajzero:main' into main
This commit is contained in:
commit
1097daba9b
@ -48,7 +48,7 @@ const consumeAsset = (floID, asset, amount, txQueries = []) => new Promise((reso
|
|||||||
rem = 0;
|
rem = 0;
|
||||||
} else {
|
} else {
|
||||||
txQueries.push(["DELETE FROM Vault WHERE id=?", [coins[i].id]]);
|
txQueries.push(["DELETE FROM Vault WHERE id=?", [coins[i].id]]);
|
||||||
rem -= result[i].quantity;
|
rem -= coins[i].quantity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (rem > 0) //should not happen AS the total and net is checked already
|
if (rem > 0) //should not happen AS the total and net is checked already
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user