From 7c5bc6a6c71f922c173e5e6f2cdcc632ed46d8cb Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 13 Jul 2019 02:00:47 -1100 Subject: [PATCH] Syntax --- src/komodo_nSPV_fullnode.h | 2 +- src/komodo_nSPV_superlite.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_nSPV_fullnode.h b/src/komodo_nSPV_fullnode.h index 6d073acfa..9a56546f4 100644 --- a/src/komodo_nSPV_fullnode.h +++ b/src/komodo_nSPV_fullnode.h @@ -189,7 +189,7 @@ int32_t NSPV_getaddresstxids(struct NSPV_txidsresp *ptr,char *coinaddr,bool isCC { int32_t maxlen,txheight,n = 0,len = 0; std::vector > txids; - SetCCtxids(addressIndex,coinaddr,isCC); + SetCCtxids(txids,coinaddr,isCC); ptr->nodeheight = chainActive.LastTip()->GetHeight(); maxlen = MAX_BLOCK_SIZE(ptr->nodeheight) - 512; maxlen /= sizeof(*ptr->txids); diff --git a/src/komodo_nSPV_superlite.h b/src/komodo_nSPV_superlite.h index 3d68a9a60..661b40e75 100644 --- a/src/komodo_nSPV_superlite.h +++ b/src/komodo_nSPV_superlite.h @@ -424,7 +424,7 @@ UniValue NSPV_txidsresp_json(struct NSPV_txidsresp *ptr) result.push_back(Pair("address",ptr->coinaddr)); result.push_back(Pair("isCC",ptr->CCflag)); result.push_back(Pair("height",(int64_t)ptr->nodeheight)); - result.push_back(Pair("numtxids",(int64_t)ptr->numutxos)); + result.push_back(Pair("numtxids",(int64_t)ptr->numtxids)); result.push_back(Pair("lastpeer",NSPV_lastpeer)); return(result); }