|
|
@ -84,7 +84,8 @@ int32_t gettxout_scriptPubKey(int32_t height,uint8_t *scriptPubKey,int32_t maxsi |
|
|
|
LOCK(cs_main); |
|
|
|
if ( KOMODO_TXINDEX != 0 ) |
|
|
|
{ |
|
|
|
if ( GetTransaction(txid,tx,hashBlock,false) == 0 ) |
|
|
|
//if ( GetTransaction(txid,tx,hashBlock,false) == 0 )
|
|
|
|
if ( GetTransaction(txid,tx,hashBlock,true) == 0 ) |
|
|
|
{ |
|
|
|
fprintf(stderr,"ht.%d couldnt get txid.%s\n",height,txid.GetHex().c_str()); |
|
|
|
return(-1); |
|
|
|