From 2d47ff5f5c72509a4d07fe6bf3f6fcaf6ed904c0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 4 Jul 2019 00:37:22 -1100 Subject: [PATCH] Syntax --- src/komodo_nSPV.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 23f69b4a1..c07a16003 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -965,7 +965,7 @@ UniValue NSPV_notarizations(int32_t height) if ( NSPV_ntzsresult.prevntz.height <= height && NSPV_ntzsresult.nextntz.height >= height ) return(NSPV_ntzs_json(&NSPV_ntzsresult)); memset(&N,0,sizeof(N)); - return(NSPV_ntzs_json(&NSPV_ntzsresult)); + return(NSPV_ntzs_json(&N)); } UniValue NSPV_hdrsproof(int32_t prevheight,int32_t nextheight) @@ -981,7 +981,7 @@ UniValue NSPV_hdrsproof(int32_t prevheight,int32_t nextheight) if ( NSPV_ntzsproofresult.common.prevht == prevheight && NSPV_ntzsproofresult.common.nextht >= nextheight ) return(NSPV_ntzsproof_json(&NSPV_ntzsproofresult)); memset(&H,0,sizeof(H)); - return(NSPV_ntzsproof_json(&NSPV_ntzsresult)); + return(NSPV_ntzsproof_json(&H)); } UniValue NSPV_txproof(uint256 txid,int32_t height) @@ -997,7 +997,7 @@ UniValue NSPV_txproof(uint256 txid,int32_t height) if ( NSPV_txproofresult.txid == txid && NSPV_txproofresult.height == height ) return(NSPV_txproof_json(&NSPV_txproofresult)); memset(&P,0,sizeof(P)); - return(NSPV_txproof_json(&I)); + return(NSPV_txproof_json(&P)); } UniValue NSPV_spentinfo(uint256 txid,int32_t vout)