diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-10-03 22:52:38 -0700 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-10-03 22:52:38 -0700 |
commit | acb3ebc45506701fdb7e060d8b941a5ba6a1b5ac (patch) | |
tree | a3eae8ace95579600c3ebfabe9b1c36e014b33d0 | |
parent | d922c85716e39d0cd260261450cd8ddab48c2e4d (diff) | |
parent | bf3a20a6e8cafdf723ef101af078df303ea06fec (diff) |
Merge pull request #2947 from gmaxwell/theyre_maturing_faster_these_days
[wallet] Consider generated coins mature at COINBASE_MATURITY+1
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index dc690111e6..8df288380a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1098,7 +1098,7 @@ int CMerkleTx::GetBlocksToMaturity() const { if (!IsCoinBase()) return 0; - return max(0, (COINBASE_MATURITY+20) - GetDepthInMainChain()); + return max(0, (COINBASE_MATURITY+1) - GetDepthInMainChain()); } |