From 19d05856c7cd21ac77c2e29822f51c8cf5ba660e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 14 May 2016 01:43:16 -0500 Subject: [PATCH] test --- iguana/iguana_wallet.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/iguana_wallet.c b/iguana/iguana_wallet.c index a58aa5405..42ca26a65 100755 --- a/iguana/iguana_wallet.c +++ b/iguana/iguana_wallet.c @@ -1124,6 +1124,7 @@ TWOSTRINGS_AND_INT(bitcoinrpc,importprivkey,wif,account,rescan) if ( account == 0 || account[0] == 0 ) account = "default"; len = (int32_t)strlen(wif); + memset(debugtxid.bytes,0,sizeof(debugtxid)); if ( is_hexstr(wif,len) > 0 ) { len >>= 1; @@ -1177,6 +1178,7 @@ STRING_ARG(bitcoinrpc,dumpprivkey,address) myinfo->expiration++; len = (int32_t)strlen(address); coinaddr = address; + memset(debugtxid.bytes,0,sizeof(debugtxid)); if ( is_hexstr(address,len) > 0 ) { len >>= 1;