fix web3 undefined issue
This commit is contained in:
parent
d2d6c33dac
commit
f747de7b61
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue