dogecoin/dogecoin — pull request #481 by patricklodder (2014-04-20 13:54:22+00:00)
Title: fix maturity depth in CMerkleTx::GetBlocksToMaturity

#479 reported that mined funds could not be transferred, this is most likely being caused by ```CMerkleTx::GetBlocksToMaturity``` not being patched properly. This PR fixes that, and centralizes the calculation of which maturity requirement to use by implementing ```GetRequiredMaturityDepth(int nHeight)```