From 1f89018d40280672bb13e49d276763b808b538a0 Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt Date: Fri, 29 Mar 2019 07:38:33 -0300 Subject: [PATCH] small fix --- app/components/multisigwallet/confirmation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/multisigwallet/confirmation.js b/app/components/multisigwallet/confirmation.js index ed98cda..a01e140 100644 --- a/app/components/multisigwallet/confirmation.js +++ b/app/components/multisigwallet/confirmation.js @@ -42,7 +42,7 @@ class MSWConfirmation extends React.Component { 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 receipt = await toSend.send({ from: this.state.account,