test transaction moved to a separate file

added a new test tx to try to spend bettx marker
This commit is contained in:
dimxy
2019-04-23 14:23:16 +05:00
parent b56dc25c8d
commit 37aa2fbe88
5 changed files with 6 additions and 189 deletions

View File

@@ -331,7 +331,7 @@ bool PricesValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx
if (!foundFirst)
return eval->Invalid("prices cc vin not found");
if (funcId != 'F' && ccVinCount > 1)
if (funcId != 'F' && ccVinCount > 1) // for all prices tx except final tx only one cc vin is allowed
return eval->Invalid("only one prices cc vin allowed for this tx");
switch (funcId) {