jl777 8 years ago
parent
commit
066abf0c2f
  1. 4
      basilisk/basilisk_swap.c

4
basilisk/basilisk_swap.c

@ -115,8 +115,8 @@ bits256 basilisk_revealkey(bits256 privkey,bits256 pubkey)
{ {
bits256 reveal; bits256 reveal;
#ifdef DISABLE_CHECKSIG #ifdef DISABLE_CHECKSIG
//vcalc_sha256(0,reveal.bytes,privkey.bytes,sizeof(privkey)); vcalc_sha256(0,reveal.bytes,privkey.bytes,sizeof(privkey));
reveal = revcalc_sha256(privkey); //reveal = revcalc_sha256(privkey);
char str[65],str2[65]; printf("priv.(%s) -> reveal.(%s)\n",bits256_str(str,privkey),bits256_str(str2,reveal)); char str[65],str2[65]; printf("priv.(%s) -> reveal.(%s)\n",bits256_str(str,privkey),bits256_str(str2,reveal));
#else #else
reveal = pubkey; reveal = pubkey;

Loading…
Cancel
Save