Disallow builtin multisig deploy (only watch)

This commit is contained in:
jacogr 2017-11-10 17:25:57 +01:00
parent d5fcf3b8ed
commit 6638b01b46
2 changed files with 27 additions and 27 deletions

View File

@ -17,35 +17,35 @@
import React, { Component, PropTypes } from 'react'; import React, { Component, PropTypes } from 'react';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import { walletSourceURL } from '~/contracts/code/wallet'; // import { walletSourceURL } from '~/contracts/code/wallet';
import { RadioButtons } from '~/ui'; import { RadioButtons } from '~/ui';
const TYPES = [ const TYPES = [
{ // {
label: ( // label: (
<FormattedMessage // <FormattedMessage
id='createWallet.type.multisig.label' // id='createWallet.type.multisig.label'
defaultMessage='Multi-Sig wallet' // defaultMessage='Multi-Sig wallet'
/> // />
), // ),
key: 'MULTISIG', // key: 'MULTISIG',
description: ( // description: (
<FormattedMessage // <FormattedMessage
id='createWallet.type.multisig.description' // id='createWallet.type.multisig.description'
defaultMessage='Create/Deploy a {link} Wallet' // defaultMessage='Create/Deploy a {link} Wallet'
values={ { // values={ {
link: ( // link: (
<a href={ walletSourceURL } target='_blank'> // <a href={ walletSourceURL } target='_blank'>
<FormattedMessage // <FormattedMessage
id='createWallet.type.multisig.link' // id='createWallet.type.multisig.link'
defaultMessage='standard multi-signature' // defaultMessage='standard multi-signature'
/> // />
</a> // </a>
) // )
} } // } }
/> // />
) // )
}, // },
{ {
label: ( label: (
<FormattedMessage <FormattedMessage

View File

@ -59,7 +59,7 @@ const STEPS = {
export default class CreateWalletStore { export default class CreateWalletStore {
@observable step = null; @observable step = null;
@observable txhash = null; @observable txhash = null;
@observable walletType = 'MULTISIG'; @observable walletType = 'WATCH'; // 'MULTISIG';
@observable wallet = { @observable wallet = {
account: '', account: '',