diff --git a/src/main.cpp b/src/main.cpp index 68b4728c7..f2f077b68 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -717,7 +717,7 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32 { //locktime = komodo_interest_args(&prevblocktime,&txheight,&tiptime,&value,tx.GetHash(),0); LOCK(cs_main); - CTransaction tx; uint256 hashBlock; CBlockIndex *pindex,*previndex; + uint256 hashBlock; CBlockIndex *pindex,*previndex; if ( GetTransaction(tx.GetHash(),tx,hashBlock,true) ) { if ( (pindex= mapBlockIndex[hashBlock]) != 0 )