|
|
@ -440,10 +440,10 @@ void iguana_setkeys(struct supernet_info *myinfo,struct iguana_peer *addr,bits25 |
|
|
|
*nextdestpubp = addr->pubkey; |
|
|
|
*myprivp = *nextprivp, *mypubp = *nextpubp, *destpubp = *nextdestpubp; |
|
|
|
if ( addr->validpub < 3 ) |
|
|
|
*destpubp = *mypubp = GENESIS_PUBKEY; |
|
|
|
*destpubp = GENESIS_PUBKEY; |
|
|
|
if ( addr->othervalid < 3 ) |
|
|
|
*myprivp = GENESIS_PRIVKEY; |
|
|
|
//char str[65]; printf("(priv.%llx pub.%llx) -> destpub.%s\n",(long long)myprivp->txid,(long long)mypubp->txid,bits256_str(str,*destpubp));
|
|
|
|
*myprivp = GENESIS_PRIVKEY, *mypubp = GENESIS_PUBKEY; |
|
|
|
char str[65]; printf("(priv.%llx pub.%llx) -> destpub.%s\n",(long long)myprivp->txid,(long long)mypubp->txid,bits256_str(str,*destpubp)); |
|
|
|
} |
|
|
|
|
|
|
|
bits256 iguana_actualpubkey(int32_t *offsetp,uint8_t *cipher,int32_t cipherlen,bits256 destpubkey) |
|
|
|