diff --git a/src/actions.js b/src/actions.js index 09462c1..90af891 100644 --- a/src/actions.js +++ b/src/actions.js @@ -129,7 +129,7 @@ class Actions { console.log("Payment ID: " , paymentId); toSend = this.contracts.LPVault.methods.confirmPayment(paymentId); - receipt = await TrxUtils.executeAndWait(toSend, web3.eth.defaultAccount); + receipt = await TrxUtils.executeAndWait(toSend, this.web3.eth.defaultAccount); console.dir("txHash: " + receipt.transactionHash); }); }