From 87d2264b2ad40fb07a271a8310020823f24d7c91 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 3 Jul 2019 02:16:25 -1100 Subject: [PATCH] Syntax --- src/komodo_defs.h | 8 -------- src/komodo_nSPV.h | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/komodo_defs.h b/src/komodo_defs.h index b36af620d..0a628b216 100644 --- a/src/komodo_defs.h +++ b/src/komodo_defs.h @@ -339,14 +339,6 @@ int32_t komodo_currentheight(); bool Getscriptaddress(char *destaddr,const CScript &scriptPubKey); std::vector Mypubkey(); -struct NSPV_spentinfo -{ - struct NSPV_txproof spent; - uint256 txid; - int32_t height,spentvini; -}; -void komodo_NSPV_spentinfoclear(); -struct NSPV_spentinfo komodo_NSPV_spentinfo(uint256 txid,int32_t vout); #endif diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 9235916e1..0085d356e 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -321,6 +321,13 @@ struct NSPV_MMRproof // tbd }; +struct NSPV_spentinfo +{ + struct NSPV_txproof spent; + uint256 txid; + int32_t height,spentvini; +}; + int32_t NSPV_rwspentinfo(int32_t rwflag,uint8_t *serialized,struct NSPV_spentinfo *ptr) // check mempool { int32_t len = 0;