Fix block cost counting (counter not reset)

This commit is contained in:
Paweł Bylica 2014-10-13 11:35:46 +02:00
parent 5470faf9ec
commit 4eb65a8b2c

View file

@ -111,6 +111,7 @@ void GasMeter::check(Instruction _inst)
{
m_checkCall->setArgOperand(0, m_builder.getIntN(256, m_blockCost)); // Update block cost in gas check call
m_checkCall = nullptr; // End cost-block
m_blockCost = 0;
}
}