[zcash/zcash] Update CreateNewContextualCMutableTransaction for Sapling (#3239)

Updated the final commit to add the missing line:

«`diff
diff —git a/src/gtest/test_checktransaction.cpp b/src/gtest/test_checktransaction.cpp
index b0b3518..4e2affc 100644
— a/src/gtest/test_checktransaction.cpp
+++ b/src/gtest/test_checktransaction.cpp
@@ -763,6 +763,7 @@ TEST(checktransaction_tests, OverwinteredContextualCreateTx) {
}

// Revert to default
+ UpdateNetworkUpgradeParameters(Consensus::UPGRADE_SAPLING, Consensus::NetworkUpgrade::NO_ACTIVATION_HEIGHT);
UpdateNetworkUpgradeParameters(Consensus::UPGRADE_OVERWINTER, Consensus::NetworkUpgrade::NO_ACTIVATION_HEIGHT);
}

«`

Запись редактировалась последний раз: May 7, 2018, 9:30 pm