Implementation of Overwinter transaction format ZIP 202.

This commit is contained in:
Simon
2018-02-16 10:10:15 -08:00
parent d527116d46
commit 072099d788
25 changed files with 1125 additions and 66 deletions
+2 -1
View File
@@ -2572,7 +2572,8 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
wtxNew.fTimeReceivedIsTxTime = true;
wtxNew.BindWallet(this);
CMutableTransaction txNew;
CMutableTransaction txNew = CreateNewContextualCMutableTransaction(
Params().GetConsensus(), chainActive.Height() + 1);
// Discourage fee sniping.
//