diff --git a/js/src/modals/Verification/store.js b/js/src/modals/Verification/store.js index b652131d9..e7986f6ae 100644 --- a/js/src/modals/Verification/store.js +++ b/js/src/modals/Verification/store.js @@ -46,7 +46,7 @@ export default class VerificationStore { @observable consentGiven = false; @observable requestTx = null; @observable code = ''; - @observable isCodeValid = null; + @observable isCodeValid = false; @observable confirmationTx = null; constructor (api, abi, certifierName, account, isTestnet) { @@ -144,7 +144,7 @@ export default class VerificationStore { const values = [ sha3.text(code) ]; this.code = code; - this.isCodeValid = null; + this.isCodeValid = false; confirm.estimateGas(options, values) .then((gas) => { options.gas = gas.mul(1.2).toFixed(0);