diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 4ac20183b..333f384f2 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -20,7 +20,6 @@ // interest calculations are currently just using what is returned, it should calculate it from scratch -// bruteforce sig -> NN pubkey validator // CC signing // make sure to sanity check all vector lengths on receipt // make sure no files are updated (this is to allow nSPV=1 and later nSPV=0 without affecting database) @@ -28,7 +27,6 @@ #ifndef KOMODO_NSPV_H #define KOMODO_NSPV_H -#define NSPV_SKIPFULLVALIDATION 0 // changing to 0 issues 26 remote gettx, per utxo! need local bruteforcer #define NSPV_POLLITERS 10 #define NSPV_POLLMICROS 100777 #define NSPV_MAXVINS 64 diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index 6115132af..5ac4081f5 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -165,7 +165,7 @@ std::string NSPV_signtx(UniValue &retcodes,CMutableTransaction &mtx,uint64_t txf utxovout = mtx.vin[i].prevout.n; if ( i > 0 ) sleep(1); - validation = NSPV_gettransaction(NSPV_SKIPFULLVALIDATION,utxovout,mtx.vin[i].prevout.hash,used[i].height,vintx); + validation = NSPV_gettransaction(0,utxovout,mtx.vin[i].prevout.hash,used[i].height,vintx); retcodes.push_back(validation); if ( validation != -1 ) // most others are degraded security {