Test
This commit is contained in:
@@ -718,7 +718,7 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32
|
|||||||
//locktime = komodo_interest_args(&prevblocktime,&txheight,&tiptime,&value,tx.GetHash(),0);
|
//locktime = komodo_interest_args(&prevblocktime,&txheight,&tiptime,&value,tx.GetHash(),0);
|
||||||
LOCK(cs_main);
|
LOCK(cs_main);
|
||||||
CTransaction tx; uint256 hashBlock; CBlockIndex *pindex,*previndex;
|
CTransaction tx; uint256 hashBlock; CBlockIndex *pindex,*previndex;
|
||||||
if ( GetTransaction(hash,tx,hashBlock,true) )
|
if ( GetTransaction(tx.GetHash(),tx,hashBlock,true) )
|
||||||
{
|
{
|
||||||
if ( (pindex= mapBlockIndex[hashBlock]) != 0 )
|
if ( (pindex= mapBlockIndex[hashBlock]) != 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user