|
|
@ -6,6 +6,8 @@ |
|
|
|
#include "primitives/transaction.h" |
|
|
|
#include "consensus/validation.h" |
|
|
|
|
|
|
|
extern ZCJoinSplit* params; |
|
|
|
|
|
|
|
TEST(checktransaction_tests, check_vpub_not_both_nonzero) { |
|
|
|
CMutableTransaction tx; |
|
|
|
tx.nVersion = 2; |
|
|
@ -710,8 +712,6 @@ class UNSAFE_CTransaction : public CTransaction { |
|
|
|
UNSAFE_CTransaction(const CMutableTransaction &tx) : CTransaction(tx, true) {} |
|
|
|
}; |
|
|
|
|
|
|
|
extern ZCJoinSplit* params; |
|
|
|
|
|
|
|
TEST(checktransaction_tests, SaplingSproutInputSumsTooLarge) { |
|
|
|
CMutableTransaction mtx = GetValidTransaction(); |
|
|
|
mtx.vjoinsplit.resize(0); |
|
|
|