Skip to content

Commit

Permalink
fix: allow env variable for stacking fee
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Oct 23, 2024
1 parent b457877 commit 478677e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stacking/stacking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const stackingInterval = parseEnvInt('STACKING_INTERVAL', true);
const postTxWait = parseEnvInt('POST_TX_WAIT', true);
const stackingCycles = parseEnvInt('STACKING_CYCLES', true);
const stackAmount = parseEnvInt('STACK_AMOUNT_STX', false);
const stackingFee = parseEnvInt('STACKING_FEE', false) ?? 1000000;

let startTxFee = 1000;
let startTxFee = stackingFee;
const getNextTxFee = () => startTxFee++;

async function run() {
Expand Down

0 comments on commit 478677e

Please sign in to comment.