Skip to content

Commit

Permalink
fix undefined vars (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay authored Feb 26, 2024
2 parents 687382c + bcbad90 commit 3408d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web3/campaigns.js
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ exports.getGains = async (
var gasPrice =
network === 'ARTHERA'
? await credentials.Web3ARTHERA.eth.getGasPrice()
: await contract.getGasPrice()
: await ctr.getGasPrice()
var receipt = await ctr.methods.getGains(idProm).send({
from: credentials.address,
gas: gas,
Expand Down

0 comments on commit 3408d5d

Please sign in to comment.