From 11ff3df37c0e74d11184e6cc8a2feb4e1033857d Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 31 Dec 2017 15:56:09 +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 835e3cfb1..449b8f3d5 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -118,10 +118,10 @@ int main(int argc, const char * argv[]) { OS_randombytes(privkey.bytes,sizeof(privkey)); bitcoin_priv2wif(0xab,wifstr,privkey,0x36); - if ( wifstr[4] == 'H' && wifstr[5] == 'u' && wifstr[6] == 's' ) + 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[7] == 'h' ) + if ( wifstr[6] == 'h' ) break; } //else printf("failed %s\n",wifstr); }