Skip to content

Commit

Permalink
script: Disallow silent bool -> CScript conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Apr 13, 2020
1 parent 4d26312 commit 88884ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/script.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ class CScript : public CScriptBase
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); }
Expand Down

0 comments on commit 88884ee

Please sign in to comment.