fix web3 undefined issue

This commit is contained in:
Iuri Matias 2019-05-24 16:38:41 -04:00
parent d2d6c33dac
commit f747de7b61
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});
}