jl777 8 years ago
parent
commit
ba5f848a27
  1. 4
      basilisk/basilisk_swap.c
  2. 2
      basilisk/basilisk_tradebot.c

4
basilisk/basilisk_swap.c

@ -335,8 +335,8 @@ int32_t basilisk_rawtx_sign(struct supernet_info *myinfo,int32_t height,struct b
jaddstr(sobj,"hex",hexstr);
jadd(item,"scriptPubKey",sobj);
jaddnum(item,"suppress",dest->suppress_pubkeys);
if ( locktime != 0 )
jaddnum(item,"sequence",0);
//if ( locktime != 0 )
// jaddnum(item,"sequence",0);
if ( (dest->redeemlen= rawtx->redeemlen) != 0 )
{
init_hexbytes_noT(hexstr,rawtx->redeemscript,rawtx->redeemlen);

2
basilisk/basilisk_tradebot.c

@ -18,7 +18,7 @@
void basilisk_txlog(struct supernet_info *myinfo,struct basilisk_swap *swap,struct basilisk_rawtx *rawtx,int32_t delay)
{
// save in append only for backstop reclaiming
// delay -1 -> dont issue, else submit after delay
// delay -1 -> dont issue, else submit after block timestamp is delay after swap->started
}
void basilisk_swap_balancingtrade(struct supernet_info *myinfo,struct basilisk_swap *swap,int32_t iambob)

Loading…
Cancel
Save