Skip to content

Commit

Permalink
fix: use 'CONFIRMATIONS' from process.env instead of hardcoded 12 in Nf3
Browse files Browse the repository at this point in the history
  • Loading branch information
fullkomnun committed Aug 27, 2023
1 parent 599251b commit f5eb4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/lib/nf3.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ class Nf3 {

this.web3 = new Web3(provider);
this.web3.eth.transactionBlockTimeout = 2000;
this.web3.eth.transactionConfirmationBlocks = 12;
this.web3.eth.transactionConfirmationBlocks = process.env.CONFIRMATIONS || 12;
if (typeof window !== 'undefined') {
if (window.ethereum && this.ethereumSigningKey === '') {
this.web3 = new Web3(window.ethereum);
Expand Down

0 comments on commit f5eb4a2

Please sign in to comment.