aboutsummaryrefslogtreecommitdiff
path: root/script.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-12-08 23:23:48 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-12-08 23:23:48 +0000
commit82201801336f64ee77851b9eaab9383ee4e442f0 (patch)
tree8c856352e75cd7b7aba6a2e08b759818bed98d59 /script.h
parenta206a23980c15cacf39d267c509bd70c23c94bfa (diff)
-- version 0.3.18 releasev0.3.18
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@198 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'script.h')
-rw-r--r--script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/script.h b/script.h
index f724d99793..da904ef489 100644
--- a/script.h
+++ b/script.h
@@ -599,6 +599,8 @@ public:
bool IsPushOnly() const
{
+ if (size() > 200)
+ return false;
const_iterator pc = begin();
while (pc < end())
{