@ -237,6 +237,8 @@ void Transact::rejigData()
if (!ui->gas->isEnabled())
ui->gas->setValue(m_backupGas);
ui->gas->setEnabled(true);
if (ui->gas->value() == ui->gas->minimum())
ui->gas->setValue((int)(m_ethereum->postState().gasLimitRemaining() / 10));
}
else
{
@ -431,9 +431,7 @@ h256s BlockChain::treeRoute(h256 _from, h256 _to, h256* o_common, bool _pre, boo
// cdebug << "treeRoute" << _from.abridged() << "..." << _to.abridged();
if (!_from || !_to)
return h256s();
h256s ret;
h256s back;
unsigned fn = details(_from).number;
@ -505,6 +505,10 @@ bool EthereumPeer::interpret(unsigned _id, RLP const& _r)
return false;
catch (Exception const& _e)
clogS(NetWarn) << "Peer causing an Exception:" << _e.what() << _r;
catch (std::exception const& _e)
clogS(NetWarn) << "Peer causing an exception:" << _e.what() << _r;