Page MenuHomePhabricator

Explode disabled opcode if into a switch
ClosedPublic

Authored by deadalnix on Mar 17 2018, 01:26.

Details

Summary

This ensures that they can be manipulated one by one more easily.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 17 2018, 02:24
src/script/interpreter.cpp
336 ↗(On Diff #3249)

We'll need another diff that splits this in two once the flag is actually checked; as they must still be disabled when the flag is off.

This revision was automatically updated to reflect the committed changes.
src/script/interpreter.cpp
336 ↗(On Diff #3249)

Yes, it's just a matter of moving some case around.