This commit is contained in:
jl777
2016-11-07 08:30:47 -03:00
parent ee0744d2b5
commit 0f0d8331c4
2 changed files with 3 additions and 3 deletions

View File

@@ -137,7 +137,7 @@ void *chainparams_commandline(void *ptr)
{
sleep(1);
}
fprintf(stderr,">>>>>>>> port.%u\n",ASSETCHAINS_PORT);
//fprintf(stderr,">>>>>>>> port.%u\n",ASSETCHAINS_PORT);
if ( ASSETCHAINS_SYMBOL[0] != 0 )
{
mainParams.SetDefaultPort(ASSETCHAINS_PORT);

View File

@@ -40,7 +40,7 @@ uint64_t komodo_paxtotal()
{
struct pax_transaction *pax,*tmp; uint64_t total = 0;
tmp = 0;
while ( (pax= (struct pax_transaction *)PAX->hh.next) != 0 && pax != tmp )
while ( PAX != 0 && (pax= (struct pax_transaction *)PAX->hh.next) != 0 && pax != tmp )
{
if ( pax->marked == 0 )
total += pax->fiatoshis;
@@ -153,7 +153,7 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char *
opcode = 'I';
else opcode = 'X';
tmp = 0;
while ( (pax= (struct pax_transaction *)PAX->hh.next) != 0 && pax != tmp )
while ( PAX != 0 && (pax= (struct pax_transaction *)PAX->hh.next) != 0 && pax != tmp )
{
if ( pax->marked != 0 )
continue;