Browse Source

Minor fix for finalize.

cl-refactor
Gav Wood 10 years ago
parent
commit
092528d87a
  1. 1
      libethereum/Executive.cpp

1
libethereum/Executive.cpp

@ -220,6 +220,7 @@ bool Executive::go(OnOpFunc const& _onOp)
void Executive::finalize(OnOpFunc const&)
{
// SSTORE refunds.
if (m_ext)
m_endGas += min((m_t.gas() - m_endGas) / 2, m_ext->sub.refunds);
// cnote << "Refunding" << formatBalance(m_endGas * m_ext->gasPrice) << "to origin (=" << m_endGas << "*" << formatBalance(m_ext->gasPrice) << ")";

Loading…
Cancel
Save