message: set destination address for tokens
diff: @@ -6,7 +6,10 @@ import { BigNumber } from 'bignumber.js'
  import InlineLoader from 'components/loaders/InlineLoader/InlineLoader'
  import TimerButton from 'components/controls/TimerButton/TimerButton'
  +import Link from 'sw-valuelink'
  +import Input from 'components/forms/Input/Input'
  import Button from 'components/controls/Button/Button'
  +import swapApp from 'swap.app'
  import Timer from './Timer/Timer'
  import { FormattedMessage } from 'react-intl'
  @@ -22,6 +25,8 @@ export default class BtcToEthToken extends Component {
  flow: this.swap.flow.state,
  secret: crypto.randomBytes(32).toString('hex'),
  enabledButton: false,
  + destinationAddressConfirmed: false,
  + destinationBuyAddress: swapApp.services.auth.accounts.eth.address
  }
  }
  @@ -45,6 +50,13 @@ export default class BtcToEthToken extends Component {
  this.swap.flow.submitSecret(secret)
  }
  + confirmAddress = () => {
  + this.swap.setDestinationBuyAddress(this.state.destinationBuyAddress);
  + this.setState( {
  + destinationAddressConfirmed: true
  + } )
  + }
  +
  updateBalance = () => {
  this.swap.flow.syncBalance()
  }
  @@ -62,7 +74,10 @@ export default class BtcToEthToken extends Component {
  render() {
  const { children } = this.props
  - const { secret, flow, enabledButton } = this.state
  + const { secret, flow, enabledButton, destinationAddressConfirmed } = this.state
  + const linked = Link.all(this, 'destinationBuyAddress')
  +
  + linked.destinationBuyAddress.check((value) => value !== '', 'Please enter ETH address for tokens')
  return (
  <div>
  @@ -83,6 +98,25 @@ export default class BtcToEthToken extends Component {
  </Fragment>
  )
  }
  +
  + {
  + (!flow.isWaitingForOwner && !destinationAddressConfirmed && (flow.step === 1 || flow.step === 2 )) && (
  + <Fragment>
  + <FormattedMessage id="BtcToEthTokenAddress1" defaultMessage="Confirm destination address for tokens">
  + {message => <h3>{message}</h3>}
  + </FormattedMessage>
  + <Input valueLink={linked.destinationBuyAddress} styleName="input" pattern="0-9a-zA-Z" />
  + <hr />
  + <Button brand onClick={this.confirmAddress} styleName="button">
  + <FormattedMessage id="BtcToEthTokenAddress2" defaultMessage="Confirm address" />
  + </Button>
  + </Fragment>
  + )
  + }
  +
  + {
  + (destinationAddressConfirmed || flow.step >= 3) && (
  + <Fragment>
  {
  (flow.step === 1 || flow.isMeSigned) && (
  <Fragment>
  @@ -333,6 +367,9 @@ export default class BtcToEthToken extends Component {
  </Fragment>
  )
  }
  + </Fragment>
  + )
  + }
  <br />
  {/* { !flow.isFinished && <Button green onClick={this.addGasPrice}>Add gas price</Button> } */}
  { children }
  