|
|
@ -988,6 +988,7 @@ struct basilisk_swap *LP_swapinit(int32_t iambob,int32_t optionduration,bits256 |
|
|
|
swap->persistent_pubkey = pubkey25519; |
|
|
|
swap->persistent_privkey = privkey; |
|
|
|
memcpy(swap->persistent_pubkey33,pubkey33,33); |
|
|
|
calc_rmd160_sha256(swap->changermd160,pubkey33,33); |
|
|
|
if ( bitcoin_swapinit(privkey,pubkey33,pubkey25519,swap,optionduration,!iambob) == 0 ) |
|
|
|
{ |
|
|
|
printf("error doing swapinit\n"); |
|
|
|