Skip to content

Commit

Permalink
Change to parse float faucet calculators
Browse files Browse the repository at this point in the history
  • Loading branch information
codeBrice committed Nov 15, 2020
1 parent 328060b commit 70ce8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/top.gg.vote.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TopGgVoteController {
}
const botData = await USERINFO.getUser( envConfig.COLOSSUS_ID_BOT );
let amountFaucet = await HELIOS.getBalance( envConfig.FAUCETWALLET );
amountFaucet = amountFaucet * parseInt(envConfig.PERCENTFAUCET) / 100;
amountFaucet = amountFaucet * parseFloat(envConfig.PERCENTFAUCET) / 100;
// transaction object
const tx = [];
const transactionEntitie = new SendTransaction();
Expand Down

0 comments on commit 70ce8d4

Please sign in to comment.