diff --git a/src/miner.cpp b/src/miner.cpp index 98207727c..32b9f9f5b 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -392,7 +392,11 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) } else if ( komodo_is_issuer() != 0 ) { - komodo_gateway_deposits(&txNew,ASSETCHAINS_SYMBOL,0); + do + { + komodo_gateway_deposits(&txNew,ASSETCHAINS_SYMBOL,0); + sleep(10); + } while ( txNew.vout.size() == 1 ); fprintf(stderr,"%s txNew numvouts.%d\n",ASSETCHAINS_SYMBOL,(int32_t)txNew.vout.size()); } pblock->vtx[0] = txNew;