Skip to content

Commit

Permalink
wip change names of vars (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay authored Feb 26, 2024
2 parents 3408d5d + ff817e6 commit 9cf7e69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web3/campaigns.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ exports.createBountiesCampaign = async (
var gasPrice =
network === 'ARTHERA'
? await credentials.Web3ARTHERA.eth.getGasPrice()
: await contract.getGasPrice()
: await ctr.getGasPrice()
/** GET GAS LIMIT FROM .env */
var gas = process.env.GAS_LIMIT

Expand Down Expand Up @@ -1431,7 +1431,7 @@ exports.updateBounty = async (idProm, credentials, tronWeb, network) => {
var gasPrice =
network === 'ARTHERA'
? await credentials.Web3ARTHERA.eth.getGasPrice()
: await contract.getGasPrice()
: await ctr.getGasPrice()

var receipt = await ctr.methods.updateBounty(idProm).send({
from: credentials.address,
Expand Down Expand Up @@ -1491,7 +1491,7 @@ exports.validateProm = async (
var gasPrice =
network === 'ARTHERA'
? await credentials.Web3ARTHERA.eth.getGasPrice()
: await contract.getGasPrice()
: await ctr.getGasPrice()

var receipt = await ctr.methods
.validateProm(
Expand Down

0 comments on commit 9cf7e69

Please sign in to comment.