From d7c8daff1a2e1418a69674e1d38c9941d652e49f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Feb 2018 20:49:59 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_etomic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_etomic.c b/iguana/exchanges/LP_etomic.c index 5dc33a8b1..86e746edc 100644 --- a/iguana/exchanges/LP_etomic.c +++ b/iguana/exchanges/LP_etomic.c @@ -75,8 +75,7 @@ int32_t LP_etomic_priv2addr(char *coinaddr,bits256 privkey) int32_t LP_etomic_priv2pub(uint8_t *pub33,bits256 privkey) { char *pubstr,str[72]; int32_t retval = -1; - strcpy(str,"0x"); - bits256_str(str+2,privkey); + bits256_str(str,privkey); if ( (pubstr= getPubKeyFromPriv(str)) != 0 ) { if ( strlen(pubstr) == 35 && pubstr[0] == '0' && pubstr[1] == 'x' )