off costbasis validation

This commit is contained in:
dimxy
2019-04-26 01:51:51 +05:00
parent 50adff8b8c
commit eb7d77de1d

View File

@@ -243,6 +243,8 @@ static bool ValidateCostbasisTx(struct CCcontract_info *cp, Eval *eval, const CT
CPubKey pk, pricespk;
int32_t height;
return true; //deprecated
// check basic structure:
if (costbasistx.vout.size() < 3 || costbasistx.vout.size() > 4)
return eval->Invalid("incorrect vout count for costbasis tx");