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 authored and janus committed Nov 6, 2020
1 parent 3e31332 commit efb08e1
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 @@ -428,7 +428,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 efb08e1

Please sign in to comment.