diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 7fed4b206..b8ed401bc 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -101,7 +101,7 @@ std::vector NSPV_utxos; // on fullnode: void komodo_nSPVreq(CNode *pfrom,std::vector request) // received a request { - int32_t len; std::vector response; uint32_t timestamp = time(NULL); + int32_t len; std::vector response; uint32_t timestamp = (uint32_t)time(NULL); if ( (len= request.size()) > 0 ) { response.resize(1); @@ -184,7 +184,7 @@ void komodo_nSPVresp(CNode *pfrom,std::vector response) // received a r void komodo_nSPV(CNode *pto) { - std::vector request; int32_t i; uint32_t timestamp = time(NULL); + std::vector request; int32_t i; uint32_t timestamp = (uint32_t)time(NULL); if ( timestamp > pto->lastntzs || timestamp > pto->lastproof ) { for (i=0; i