|
|
@ -1979,7 +1979,7 @@ struct basilisk_swap *basilisk_thread_start(struct supernet_info *myinfo,bits256 |
|
|
|
swap->myinfoptr = myinfo; |
|
|
|
//swap->myinfo.ctx = myinfo->ctx;
|
|
|
|
bitcoin_pubkey33(myinfo->ctx,pubkey33,privkey); |
|
|
|
pubkey25519 = curve25519(privkey,curve25519_basepoint9()); |
|
|
|
pubkey25519 = myinfo->myaddr.persistent;//curve25519(privkey,curve25519_basepoint9());
|
|
|
|
//swap->myinfo.persistent_priv = privkey;
|
|
|
|
//swap->myinfo.myaddr.persistent = pubkey25519;
|
|
|
|
//memcpy(swap->myinfo.persistent_pubkey33,pubkey33,33);
|
|
|
|