diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index 64580252a..5ec1d25bf 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -152,11 +152,11 @@ int main(int argc, const char * argv[]) { OS_randombytes(privkey.bytes,sizeof(privkey)); bitcoin_priv2pub(ctx,pubkey33,coinaddr,privkey,0,60); - if ( strncmp(coinaddr+3,argv[2],len-1) == 0 ) + if ( strncmp(coinaddr+4,argv[2],len-1) == 0 ) { bitcoin_priv2wif(0,wifstr,privkey,188); printf("i.%d %s -> %s wif.%s\n",i,bits256_str(str,privkey),coinaddr,wifstr); - if ( coinaddr[3+len-1] == argv[2][len-1] ) + if ( coinaddr[4+len-1] == argv[2][len-1] ) break; } //else printf("failed %s\n",wifstr); }