aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-13 08:59:16 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-04-13 08:56:35 -0400
commit88884ee8d8dcd5303b20e54801b03f9631959c76 (patch)
tree0c17d263b08ebc093ade174b0818f9d09e06f100 /src/script
parent4d26312c1725fd097615167025115b56aab40501 (diff)
script: Disallow silent bool -> CScript conversion
Diffstat (limited to 'src/script')
-rw-r--r--src/script/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script.h b/src/script/script.h
index 7aaa10b60b..dd2ab2f070 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); }