Browse Source

Test

etomic
jl777 8 years ago
parent
commit
54af944673
  1. 4
      .gitignore
  2. 6
      basilisk/jumblr.c

4
.gitignore

@ -218,3 +218,7 @@ iguana/confs/5228bcea7ae2515a29c3844673de6ee2acba53bf45724744a00ff4306f192912
iguana/confs/630929d976025fafde221c7358eb5805f4359bad3c6b8bd50ad3f6e0a9b5ce78
iguana/confs/5f3283a017c31e52443d61cb43944e2157f7c03eb12d701ebf4a35a695688e1f
iguana/DB/SWAPS/1313603851-3952777544
iguana/DB/SWAPS/1923456555-3815385469

6
basilisk/jumblr.c

@ -589,12 +589,14 @@ void jumblr_utxotxidpendingadd(struct supernet_info *myinfo,char *dest,struct ig
pend.ind = ind;
if ( myinfo->IAMLP == 0 && shouldsplit == 0 && ind < 3 )
{
if ( price > SMALLVAL )
static uint32_t num;
if ( num == 0 && price > SMALLVAL )
{
num++;
vals = cJSON_CreateObject();
jaddstr(vals,"source",coin->symbol);
jaddstr(vals,"dest",dest);
jaddnum(vals,"amount",dstr(value) - estfee);
jaddnum(vals,"amount",price * 100);//dstr(value) - estfee);
jaddnum(vals,"minprice",price);
jaddnum(vals,"usejumblr",1);
memset(hash.bytes,0,sizeof(hash));

Loading…
Cancel
Save