diff options
| author | MarcoFalke <[email protected]> | 2020-04-13 08:59:16 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-04-13 08:56:35 -0400 |
| commit | 88884ee8d8dcd5303b20e54801b03f9631959c76 (patch) | |
| tree | 0c17d263b08ebc093ade174b0818f9d09e06f100 /src/script/script.h | |
| parent | Merge #18597: test: Extend wallet_dump test to cover comments (diff) | |
| download | discoin-88884ee8d8dcd5303b20e54801b03f9631959c76.tar.xz discoin-88884ee8d8dcd5303b20e54801b03f9631959c76.zip | |
script: Disallow silent bool -> CScript conversion
Diffstat (limited to 'src/script/script.h')
| -rw-r--r-- | src/script/script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script.h b/src/script/script.h index 7aaa10b60..dd2ab2f07 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -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); } |