|
|
@ -118,9 +118,10 @@ int main(int argc, const char * argv[]) |
|
|
|
{ |
|
|
|
privkey = rand256(0); |
|
|
|
bitcoin_priv2wif(0,wifstr,privkey,0xab); |
|
|
|
if ( wifstr[3] == 'h' && wifstr[4] == 'u' && wifstr[5] == 's' && wifstr[6] == 'h' ) |
|
|
|
if ( wifstr[3] == 'h' && wifstr[4] == 'u' && wifstr[5] == 's' ) |
|
|
|
{ |
|
|
|
printf("i.%d %s -> wif.%s\n",i,bits256_str(str,privkey),wifstr); |
|
|
|
if ( wifstr[6] == 'h' ) |
|
|
|
break; |
|
|
|
} //else printf("failed %s\n",wifstr);
|
|
|
|
} |
|
|
|