From 80052780532f1d28b742d51a10c5e9e00ea132fb Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Feb 2017 15:55:46 +0200 Subject: [PATCH] test --- src/komodo_notary.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/komodo_notary.h b/src/komodo_notary.h index f69e4ec3a..4eaf5fca1 100644 --- a/src/komodo_notary.h +++ b/src/komodo_notary.h @@ -125,7 +125,9 @@ const char *Notaries_elected[][2] = int32_t komodo_electednotary(uint8_t *pubkey33,int32_t height) { char pubkeystr[67]; int32_t i; - init_hexbytes_noT(pubkeystr,pubkey33,33); + for (i=0; i<33; i++) + sprintf(&pubkeystr[i*2],"%02x",pubkey33[i]); + pubkeystr[66] = 0; printf("%s vs\n",pubkeystr); for (i=0; i