message: toggle btc script
diff: @@ -19,6 +19,7 @@ export default class EthToBtc extends Component {
  this.state = {
  flow: this.swap.flow.state,
  enabledButton: false,
  + isShowingBitcoinScript: false,
  }
  }
  @@ -52,6 +53,12 @@ export default class EthToBtc extends Component {
  this.swap.flow.tryRefund()
  }
  + toggleBitcoinScript = () => {
  + this.setState({
  + isShowingBitcoinScript: !this.state.isShowingBitcoinScript,
  + })
  + }
  +
  addGasPrice = () => {
  const gwei = new BigNumber(String(this.swap.flow.ethSwap.gasPrice)).plus(new BigNumber(1e9))
  this.swap.flow.ethSwap.addGasPrice(gwei)
  @@ -60,7 +67,7 @@ export default class EthToBtc extends Component {
  render() {
  const { children } = this.props
  - const { flow, enabledButton } = this.state
  + const { flow, enabledButton, isShowingBitcoinScript } = this.state
  return (
  <div>
  @@ -159,6 +166,9 @@ export default class EthToBtc extends Component {
  </strong>
  </div>
  <br />
  + <Fragment>
  + { flow.btcScriptValues && <span styleName="button" onClick={this.toggleBitcoinScript}>Show bitcoin script</span> }
  + { isShowingBitcoinScript && (
  <pre>
  <code>{`
  bitcoinjs.script.compile([
  @@ -186,6 +196,13 @@ export default class EthToBtc extends Component {
  `}
  </code>
  </pre>
  + )
  + }
  + </Fragment>
  +
  + <br />
  + <br />
  +
  {
  flow.step === 3 && (
  <Fragment>
  