|
|
@ -265,7 +265,7 @@ int64_t LP_dynamictrust(bits256 pubkey,int64_t kmdvalue) |
|
|
|
swaps_kmdvalue += LP_kmdvalue(sp->Q.destcoin,sp->Q.destsatoshis); |
|
|
|
} |
|
|
|
//printf("%s zeroconf_credits %.8f vs (%.8f + current %.8f)\n",coinaddr,dstr(ap->zeroconf_credits),dstr(swaps_kmdvalue),dstr(kmdvalue));
|
|
|
|
if ( ap->zeroconf_credits > swaps_kmdvalue+kmdvalue ) |
|
|
|
//if ( ap->zeroconf_credits > swaps_kmdvalue+kmdvalue )
|
|
|
|
return(ap->zeroconf_credits - (swaps_kmdvalue+kmdvalue)); |
|
|
|
} |
|
|
|
} |
|
|
|