Browse Source

Need to update Alice claim script path to prevent unspendable alicepayment

etomic
jl777 7 years ago
parent
commit
4194554ae9
  1. 3
      iguana/exchanges/LP_swap.c

3
iguana/exchanges/LP_swap.c

@ -43,7 +43,8 @@
Bob deposit:
OP_IF
<now + INSTANTDEX_LOCKTIME*2> OP_CLTV OP_DROP <alice_pubA0> OP_CHECKSIG
//<now + INSTANTDEX_LOCKTIME*2> OP_CLTV OP_DROP <alice_pubA0> OP_CHECKSIG
<now + INSTANTDEX_LOCKTIME*2> OP_CLTV OP_DROP OP_HASH160 <hash(alice_privM)> OP_EQUALVERIFY <alice_pubA0> OP_CHECKSIG
OP_ELSE
OP_HASH160 <hash(bob_privN)> OP_EQUALVERIFY <bob_pubB0> OP_CHECKSIG
OP_ENDIF

Loading…
Cancel
Save