From 8ecc57e0c6c7c935fcb6febf0cb3f35656a392e5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 29 Aug 2018 05:08:38 -1100 Subject: [PATCH] Test --- src/cc/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/channels.cpp b/src/cc/channels.cpp index 2bc3605b1..1be04067a 100644 --- a/src/cc/channels.cpp +++ b/src/cc/channels.cpp @@ -256,7 +256,7 @@ UniValue ChannelsInfo() if ( DecodeChannelsOpRet(txid,tx.vout[numvouts-1].scriptPubKey,srcpub,destpub,numpayments,payment,hashchain) == 'O' || funcid == 'P' ) { char str[67],str2[67]; - fprintf(stderr,"func.%c %s -> %s %.8f num.%d of %.8f\n",funcid,pubkey33_str(str,(uint8_t *)srcpub.data()),pubkey33_str(str2,(uint8_t *)destpub.data()),(double)nValue/COIN,numpayments,(double)payment/COIN); + fprintf(stderr,"func.%c %s -> %s %.8f num.%d of %.8f\n",funcid,pubkey33_str(str,(uint8_t *)&srcpub),pubkey33_str(str2,(uint8_t *)&destpub),(double)nValue/COIN,numpayments,(double)payment/COIN); } } }