small fix
This commit is contained in:
parent
da41cb4091
commit
1f89018d40
|
@ -42,7 +42,7 @@ class MSWConfirmation extends React.Component {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const toSend = accountConfirmed ? this.state.mswInstance.methods.revokeConfirmation(transactionId) : this.state.mswInstance.methods.confirmTransaction(transactionId);
|
const toSend = this.state.accountConfirmed ? this.state.mswInstance.methods.revokeConfirmation(transactionId) : this.state.mswInstance.methods.confirmTransaction(transactionId);
|
||||||
const estimatedGas = await toSend.estimateGas({from: this.state.account});
|
const estimatedGas = await toSend.estimateGas({from: this.state.account});
|
||||||
const receipt = await toSend.send({
|
const receipt = await toSend.send({
|
||||||
from: this.state.account,
|
from: this.state.account,
|
||||||
|
|
Loading…
Reference in New Issue