From c047de518566b04c847d4c763f0fa3d6ac387f6d Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 15 May 2016 15:36:26 -0500 Subject: [PATCH] test --- iguana/SuperNET.c | 5 ----- iguana/SuperNET_keys.c | 2 -- iguana/iguana_wallet.c | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index 8a59ab48c..21fe1cce5 100755 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -1482,11 +1482,6 @@ FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase) calc_rmd160_sha256(rmd160,pubkey33,33); init_hexbytes_noT(rmd160str,rmd160,20); jaddstr(item,rmd160str,bits256_str(str,myinfo->persistent_priv)); - item = cJSON_CreateObject(); - bitcoin_pubkey33(myinfo->ctx,pubkey33,myinfo->privkey); - calc_rmd160_sha256(rmd160,pubkey33,33); - init_hexbytes_noT(rmd160str,rmd160,20); - jaddstr(item,rmd160str,bits256_str(str,myinfo->privkey)); walletitem = cJSON_CreateObject(); jadd(walletitem,"default",item); argjson = cJSON_CreateObject(); diff --git a/iguana/SuperNET_keys.c b/iguana/SuperNET_keys.c index 68d9ed82b..c3047f5af 100755 --- a/iguana/SuperNET_keys.c +++ b/iguana/SuperNET_keys.c @@ -291,8 +291,6 @@ void SuperNET_setkeys(struct supernet_info *myinfo,void *pass,int32_t passlen,in } RS_encode(myinfo->myaddr.NXTADDR,myinfo->myaddr.nxt64bits); bitcoin_pubkey33(myinfo->ctx,pubkey33,myinfo->persistent_priv); - //btc_priv2pub(pubkey33,myinfo->persistent_priv.bytes); - //init_hexbytes_noT(pubkeystr,pubkey33,33); bitcoin_address(myinfo->myaddr.BTC,0,pubkey33,33); bitcoin_address(myinfo->myaddr.BTCD,60,pubkey33,33); } diff --git a/iguana/iguana_wallet.c b/iguana/iguana_wallet.c index 3b1a9347c..6c93792b4 100755 --- a/iguana/iguana_wallet.c +++ b/iguana/iguana_wallet.c @@ -401,7 +401,7 @@ int32_t iguana_loginsave(struct supernet_info *myinfo,struct iguana_info *coin,c if ( (passphrase= jstr(loginjson,"passphrase")) != 0 ) { _SuperNET_encryptjson(destfname,passphrase,0,myinfo->permanentfile,0,loginjson); - printf("loginsave.(%s) <= (%s)\n",destfname,newstr); + //printf("loginsave.(%s) <= (%s)\n",destfname,newstr); //iguana_walletlock(myinfo); } free_json(loginjson);