This commit is contained in:
jl777
2016-11-07 20:51:02 -03:00
parent ad7b627186
commit 7cbf644437
2 changed files with 2 additions and 4 deletions

View File

@@ -163,7 +163,7 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char *
{
struct pax_transaction *pax,*tmp; uint8_t *script,opcode,opret[10000],data[10000]; int32_t i,len=0,opretlen=0,numvouts=1;
PENDING_KOMODO_TX = 0;
if ( strcmp(symbol,"KMD") == 0 )
if ( strcmp(symbol,"KMD") != 0 )
opcode = 'I';
else opcode = 'X';
HASH_ITER(hh,PAX,pax,tmp)

View File

@@ -378,13 +378,11 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
}
else if ( komodo_is_issuer() != 0 )
{
komodo_gateway_deposits(&txNew,0,(char *)"KMD");
komodo_gateway_deposits(&txNew,0,ASSETCHAINS_SYMBOL);
fprintf(stderr,"txNew numvouts.%d\n",(int32_t)txNew.vout.size());
}
pblock->vtx[0] = txNew;
pblocktemplate->vTxFees[0] = -nFees;
// Randomise nonce
arith_uint256 nonce = UintToArith256(GetRandHash());
// Clear the top and bottom 16 bits (for local use as thread flags and counters)