From 6a670a9b4449941be3676c46dbfe06f75e57c00b Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 31 Dec 2017 15:34:35 +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 fa63942cc..9796e8cf1 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -117,8 +117,8 @@ int main(int argc, const char * argv[]) for (i=0; i<100000000; i++) { privkey = rand256(0); - bitcoin_priv2wif(0,wifstr,privkey,0xab); - if ( wifstr[3] == 'h' && wifstr[4] == 'u' && wifstr[5] == 's' ) + bitcoin_priv2wif(0x36,wifstr,privkey,0xab); + if ( wifstr[4] == 'h' && wifstr[5] == 'u' && wifstr[6] == 's' ) { printf("i.%d %s -> wif.%s\n",i,bits256_str(str,privkey),wifstr); if ( wifstr[6] == 'h' )