Remove errenous error duplication and move some tests around

This commit is contained in:
Alex Beregszaszi 2020-07-03 12:26:55 +01:00
parent 53d497fc31
commit 291c00c3de
2 changed files with 0 additions and 2 deletions

View File

@ -646,8 +646,6 @@ bool AsmAnalyzer::validateInstructions(evmasm::Instruction _instr, SourceLocatio
"PC instruction is a low-level EVM feature. "
"Because of that PC is disallowed in strict assembly."
);
else if (_instr == evmasm::Instruction::SELFBALANCE && !m_evmVersion.hasSelfBalance())
errorForVM(3672_error, "only available for Istanbul-compatible");
else
return false;