From df92c8a52c41849b44a959914c99dc8c1d9de567 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 8 Jul 2019 22:42:10 -1100 Subject: [PATCH] .c_str() --- src/komodo_nSPV.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 15f3ca911..aa1d0044b 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -440,7 +440,7 @@ int32_t NSPV_newnotariescount(CTransaction tx,uint8_t elected[64][33]) { pubkeys[j] = buf2pk(elected[j]); scriptPubKeys[j] = (CScript() << ParseHex(HexStr(pubkeys[j])) << OP_CHECKSIG); - fprintf(stderr,"%d %s\n",j,HexStr(pubkeys[j])); + fprintf(stderr,"%d %s\n",j,HexStr(pubkeys[j]).c_str()); } fprintf(stderr,"txid %s\n",tx.GetHash().GetHex().c_str()); for (vini=0; vini