Browse Source

Crash fix.

cl-refactor
Gav Wood 10 years ago
parent
commit
8cc17f2dc3
  1. 2
      alethzero/Transact.cpp

2
alethzero/Transact.cpp

@ -237,7 +237,7 @@ void Transact::rejigData()
if (!ui->gas->isEnabled()) if (!ui->gas->isEnabled())
ui->gas->setValue(m_backupGas); ui->gas->setValue(m_backupGas);
ui->gas->setEnabled(true); ui->gas->setEnabled(true);
if (ui->gas->value() == ui->gas->minimum()) if (ui->gas->value() == ui->gas->minimum() && m_ethereum)
ui->gas->setValue((int)(m_ethereum->postState().gasLimitRemaining() / 10)); ui->gas->setValue((int)(m_ethereum->postState().gasLimitRemaining() / 10));
} }
else else

Loading…
Cancel
Save