Browse Source

test

etomic
jl777 8 years ago
parent
commit
42ff80266d
  1. 3
      basilisk/basilisk_swap.c
  2. 3
      iguana/iguana777.c
  3. 2
      iguana/iguana_payments.c

3
basilisk/basilisk_swap.c

@ -782,6 +782,7 @@ int32_t basilisk_bobscripts_set(struct supernet_info *myinfo,struct basilisk_swa
}
}
}
return(0);
}
else
{
@ -813,8 +814,8 @@ int32_t basilisk_bobscripts_set(struct supernet_info *myinfo,struct basilisk_swa
return(0);
}
}
return(0);
}
return(0);
//for (i=0; i<swap->bobdeposit.redeemlen; i++)
// printf("%02x",swap->bobdeposit.redeemscript[i]);
//printf(" <- bobdeposit.%d\n",i);

3
iguana/iguana777.c

@ -884,7 +884,8 @@ void iguana_coinloop(void *arg)
n = (int32_t)(long)coins[0];
coins++;
coin = coins[0];
coin->notarychain = iguana_isnotarychain(coin->symbol);
if ( (coin->notarychain= iguana_isnotarychain(coin->symbol)) >= 0 )
coin->VALIDATENODE = 0;
printf("begin coinloop[%d] %s notarychain.%d\n",n,coin->symbol,coin->notarychain);
memset(zero.bytes,0,sizeof(zero));
while ( 1 )

2
iguana/iguana_payments.c

@ -299,7 +299,7 @@ bits256 iguana_sendrawtransaction(struct supernet_info *myinfo,struct iguana_inf
txid = bits256_doublesha256(0,&serialized[sizeof(struct iguana_msghdr)],len);
if ( coin->FULLNODE < 0 || coin->notarychain >= 0 )
{
if ( coin->FULLNODE < 0 || coin->notarychain >= 0 )
if ( coin->FULLNODE < 0 )
str = dpow_sendrawtransaction(myinfo,coin,signedtx);
else str = _dex_sendrawtransaction(myinfo,coin->symbol,signedtx);
if ( str != 0 )

Loading…
Cancel
Save