aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorMatthew English <s-matthew-english@users.noreply.github.com>2016-04-01 23:44:26 +0200
committermatthias <h1395010@connect.hku.hk>2016-04-08 23:22:39 +0200
commit03c77fdc143fb8d533011f23164daac560e381b2 (patch)
treeb2085325d73b8f2e071aace46c89774530932dfd /src/policy
parente9723cb27384ccd8e4bd78d2fea907534fd0d94a (diff)
downloadbitcoin-03c77fdc143fb8d533011f23164daac560e381b2.tar.xz
Doc: Update isStandardTx comment
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/policy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp
index e3ed7be000..d1a15451dc 100644
--- a/src/policy/policy.cpp
+++ b/src/policy/policy.cpp
@@ -73,12 +73,12 @@ bool IsStandardTx(const CTransaction& tx, std::string& reason)
BOOST_FOREACH(const CTxIn& txin, tx.vin)
{
// Biggest 'standard' txin is a 15-of-15 P2SH multisig with compressed
- // keys. (remember the 520 byte limit on redeemScript size) That works
+ // keys (remember the 520 byte limit on redeemScript size). That works
// out to a (15*(33+1))+3=513 byte redeemScript, 513+1+15*(73+1)+3=1627
// bytes of scriptSig, which we round off to 1650 bytes for some minor
// future-proofing. That's also enough to spend a 20-of-20
// CHECKMULTISIG scriptPubKey, though such a scriptPubKey is not
- // considered standard)
+ // considered standard.
if (txin.scriptSig.size() > 1650) {
reason = "scriptsig-size";
return false;