From 2ad7732c8a87da5d89aa0126610c0311e5928297 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 3 Jul 2019 02:14:58 -1100 Subject: [PATCH] Fix spent info --- src/komodo_defs.h | 5 +++-- src/komodo_nSPV.h | 7 ------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/komodo_defs.h b/src/komodo_defs.h index 5ea260db6..b36af620d 100644 --- a/src/komodo_defs.h +++ b/src/komodo_defs.h @@ -341,8 +341,9 @@ std::vector Mypubkey(); struct NSPV_spentinfo { - uint256 txid,spenttxid; - int32_t vout,height,spentvin,spentheight; + 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); diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 0085d356e..9235916e1 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -321,13 +321,6 @@ 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;