Browse Source

off costbasis validation

z_createrawtransaction
dimxy 5 years ago
parent
commit
eb7d77de1d
  1. 2
      src/cc/prices.cpp

2
src/cc/prices.cpp

@ -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");

Loading…
Cancel
Save