mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
Merge #18621: script: Disallow silent bool -> CScript conversion
88884ee8d8
script: Disallow silent bool -> CScript conversion (MarcoFalke) Pull request description: Makes nonsensical stuff like `ScriptToAsmStr(false,false);` a compile failure ACKs for top commit: practicalswift: ACK88884ee8d8
laanwj: ACK88884ee8d8
promag: ACK88884ee8d8
. instagibbs: utACK88884ee8d8
jb55: ACK88884ee8d8
ryanofsky: Code review ACK88884ee8d8
Tree-SHA512: 419d79c03b44a979c061b0540662928251ad68d53e65996bf370bb55ed1526ac7a22710cb7536c9954db5fec07bc312884bf8828f97a4ba180a5b07969a17f54
This commit is contained in:
commit
903be99ee6
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ public:
|
|||
return ret;
|
||||
}
|
||||
|
||||
CScript(int64_t b) { operator<<(b); }
|
||||
explicit CScript(int64_t b) { operator<<(b); }
|
||||
|
||||
explicit CScript(opcodetype b) { operator<<(b); }
|
||||
explicit CScript(const CScriptNum& b) { operator<<(b); }
|
||||
|
|
Loading…
Add table
Reference in a new issue