Allow sending transactions with hex data and no recipient

feature/default_network_editable
Whymarrh Whitby 6 years ago
parent 23aabcca6f
commit 508a712479
  1. 4
      ui/app/components/send/send-footer/send-footer.component.js

@ -86,9 +86,9 @@ export default class SendFooter extends Component {
} }
formShouldBeDisabled () { formShouldBeDisabled () {
const { inError, selectedToken, tokenBalance, gasTotal, to } = this.props const { data, inError, selectedToken, tokenBalance, gasTotal, to } = this.props
const missingTokenBalance = selectedToken && !tokenBalance const missingTokenBalance = selectedToken && !tokenBalance
return inError || !gasTotal || missingTokenBalance || !to return inError || !gasTotal || missingTokenBalance || !(data || to)
} }
render () { render () {

Loading…
Cancel
Save