From eb7d77de1df4cfdea627dcc3f8eb9eb0404e9a7e Mon Sep 17 00:00:00 2001 From: dimxy Date: Fri, 26 Apr 2019 01:51:51 +0500 Subject: [PATCH] off costbasis validation --- src/cc/prices.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index 6f17311c7..9357e3719 100644 --- a/src/cc/prices.cpp +++ b/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");