From cfcaba36296f8985b6ef0ac926c2a57c28fabd29 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 31 Dec 2017 16:24:49 +0700 Subject: [PATCH] Test --- iguana/exchanges/mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index bdcbb6039..64c534245 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -118,7 +118,7 @@ int main(int argc, const char * argv[]) { OS_randombytes(privkey.bytes,sizeof(privkey)); bitcoin_priv2wiflong(0xab,wifstr,privkey,0x36); - if ( wifstr[2] == 'x' && wifstr[3] == 'H' && wifstr[4] == 'u' && wifstr[5] == 's' ) + if ( wifstr[2] == 'x' && 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' ) @@ -147,7 +147,7 @@ int main(int argc, const char * argv[]) break; } //else printf("failed %s\n",wifstr); } - printf("done hush vanitygen done %u elapsed %d\n",(uint32_t)time(NULL),(uint32_t)time(NULL) - timestamp); + printf("done vanitygen.(%s) done %u elapsed %d\n",argv[2],(uint32_t)time(NULL),(uint32_t)time(NULL) - timestamp); exit(0); } sprintf(dirname,"%s",GLOBAL_DBDIR), OS_ensure_directory(dirname);