src/components/orbit/write/index.js
// Set slp address into text field
Set slp address into text field
Set slp address into text field
handleSlpAddr () {
    try {
      const { slpAddress } = _this.props.walletInfo
      if (!slpAddress) {
        throw new Error('Wallet Not Found!')
      }
      _this.setState({
        slpAddress
      })
    } catch (err) {
      _this.setState({
        msg: err.message,
        inFetch: false,
        isError: true
      })
    } finally {
      setTimeout(_this.hideMessage, 4000)
    }
  }
handleSlpAddr ( ) { try { const { slpAddress } = _this . props . walletInfo if ( ! slpAddress ) { throw new Error ( 'Wallet Not Found!' ) } _this . setState ( { slpAddress } ) } catch ( err ) { _this . setState ( { msg : err . message , inFetch : false , isError : true } ) } finally { setTimeout ( _this . hideMessage , 4000 ) } }
Set slp address into text field
Set slp address into text field