|
|
@ -298,7 +298,7 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan |
|
|
|
uint8_t check33[33]; char checkaddr[64]; |
|
|
|
if ( LP_etomic_priv2pub(check33,privkey) > 0 ) |
|
|
|
{ |
|
|
|
if ( memcmp(check33,coin->pubkey33) == 0 ) |
|
|
|
if ( memcmp(check33,coin->pubkey33,33) == 0 ) |
|
|
|
{ |
|
|
|
printf("pubkey33 matches!\n"); |
|
|
|
if ( LP_etomic_pub2addr(checkaddr,check33) > 0 ) |
|
|
|