Disallow builtin multisig deploy (only watch)
This commit is contained in:
parent
d5fcf3b8ed
commit
6638b01b46
@ -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
|
||||||
|
@ -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: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user