Browse Source

Add comment about BadInstruction exception

cl-refactor
Paweł Bylica 10 years ago
parent
commit
b01d1ea8a3
  1. 2
      libevm/VM.h

2
libevm/VM.h

@ -101,7 +101,7 @@ template <class Ext> dev::bytesConstRef dev::eth::VM::go(Ext& _ext, OnOpFunc con
Instruction inst = (Instruction)_ext.getCode(m_curPC);
// FEES...
bigint runGas = FeeStructure::getInstructionFee(inst);
bigint runGas = FeeStructure::getInstructionFee(inst); // throws BadInstruction
bigint newTempSize = m_temp.size();
switch (inst)
{

Loading…
Cancel
Save