Skip to content

Commit

Permalink
Revert "disable DeclareCandidacy"
Browse files Browse the repository at this point in the history
This reverts commit dac4e42.
  • Loading branch information
shrpne committed Jan 14, 2022
1 parent e4f34f5 commit 1b367bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/ValidatorDeclareCandidacyForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
validations() {
const form = {
address: {
isValid: () => false,
required,
validAddress: this.isAddressDomainResolving ? () => new Promise(() => 0) : isValidAddress,
},
Expand Down Expand Up @@ -83,7 +82,7 @@
</script>

<template>
<TxForm :txData="{address: form.address, publicKey: form.publicKey, commission: form.commission, coin: form.coinSymbol, stake: form.stake}" :$txData="$v.form" :txType="$options.TX_TYPE.DECLARE_CANDIDACY" @clear-form="clearForm()" style="display: none;" disabled>
<TxForm :txData="{address: form.address, publicKey: form.publicKey, commission: form.commission, coin: form.coinSymbol, stake: form.stake}" :$txData="$v.form" :txType="$options.TX_TYPE.DECLARE_CANDIDACY" @clear-form="clearForm()">
<template v-slot:panel-header>
<h1 class="panel__header-title">
{{ $td('Declare candidacy', 'masternode.declare-title') }}
Expand Down

0 comments on commit 1b367bf

Please sign in to comment.