message: add comments to FillBlockPayee
diff: @@ -318,10 +318,17 @@ void CMasternodePayments::FillBlockPayee(CMutableTransaction& txNew, int64_t nFe
  {
  if(fProofOfStake)
  {
  + /**For Proof Of Stake vout[0] must be null
  + * Stake reward can be split into many different outputs, so we must
  + * use vout.size() to align with several different cases.
  + * An additional output is appended as the masternode payment
  + */
  unsigned int i = txNew.vout.size();
  txNew.vout.resize(i + 1);
  txNew.vout[i].scriptPubKey = payee;
  txNew.vout[i].nValue = masternodePayment;
  +
  + //subtract mn payment from the stake reward
  txNew.vout[i - 1].nValue -= masternodePayment;
  }
  else
  @@ -336,7 +343,7 @@ void CMasternodePayments::FillBlockPayee(CMutableTransaction& txNew, int64_t nFe
  ExtractDestination(payee, address1);
  CBitcoinAddress address2(address1);
  - LogPrintf("Masternode payment to %s\n", address2.ToString().c_str());
  + LogPrintf("Masternode payment of %s to %s\n", FormatMoney(masternodePayment).c_str(), address2.ToString().c_str());
  }
  }
  