aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-10-23 11:22:00 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-10-23 11:50:10 +0200
commit923c5e93a90a6eddde3ab8589fc393da95bbc489 (patch)
tree1138bc84e9c0c8fa16cf9f9e067c276c0daee4cf /src/script/script.cpp
parentfa1d252e82a8ea76fd6691955eae5cae6ec8bc5a (diff)
parentb48da5c1894a70f8fa2a50deb2e056c38ed27ecb (diff)
Merge pull request #6818
b48da5c script: Remove magic numbers (David Hill)
Diffstat (limited to 'src/script/script.cpp')
-rw-r--r--src/script/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script.cpp b/src/script/script.cpp
index 9a0c067a33..263c89defe 100644
--- a/src/script/script.cpp
+++ b/src/script/script.cpp
@@ -170,7 +170,7 @@ unsigned int CScript::GetSigOpCount(bool fAccurate) const
if (fAccurate && lastOpcode >= OP_1 && lastOpcode <= OP_16)
n += DecodeOP_N(lastOpcode);
else
- n += 20;
+ n += MAX_PUBKEYS_PER_MULTISIG;
}
lastOpcode = opcode;
}