Page MenuHomePhabricator

script: Disallow silent bool -> CScript conversion
ClosedPublic

Authored by PiRK on Jan 17 2021, 09:30.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC4f308eaa812b: script: Disallow silent bool -> CScript conversion
Summary

Makes nonsensical stuff like ScriptToAsmStr(false,false); a compile failure

This is a backport of Core PR18621

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.