Skip to content

Commit 5165e34

Browse files
committed
fix (airdrop): use 0.00001 as minimum faucet for airdrop
1 parent 4dd9f02 commit 5165e34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/localServer/workers/utilities/web3Util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3528,7 +3528,7 @@ const redeemAirdrop = async (cmd) => {
35283528

35293529
if (!profile?.tokens?.cCNTP?.balance) throw new Error("FAILURE");
35303530

3531-
if (parseFloat(profile?.tokens?.cCNTP?.balance) >= 0.001) {
3531+
if (parseFloat(profile?.tokens?.cCNTP?.balance) >= 0.00001) {
35323532
const ethInWei = ethers.parseEther(profile?.tokens?.cCNTP?.balance);
35333533
const approveTx = await cntpContract.approve(airdropContractAddress, ethInWei);
35343534
const approveReceipt = await approveTx.wait()
@@ -3544,7 +3544,7 @@ const redeemAirdrop = async (cmd) => {
35443544
try {
35453545
if (
35463546
canCntpAirdropTotal > 0 &&
3547-
parseFloat(profile?.tokens?.cCNTP?.balance) >= 0.001
3547+
parseFloat(profile?.tokens?.cCNTP?.balance) >= 0.00001
35483548
) {
35493549
const pendingCntpAirdropTx = await conetContract.CNTPAirBridgeAirdrop();
35503550
cmd.data.push(true);

0 commit comments

Comments
 (0)