Fix spent info

This commit is contained in:
jl777
2019-07-03 02:14:58 -11:00
parent 836ffe9ad4
commit 2ad7732c8a
2 changed files with 3 additions and 9 deletions

View File

@@ -341,8 +341,9 @@ std::vector<uint8_t> Mypubkey();
struct NSPV_spentinfo struct NSPV_spentinfo
{ {
uint256 txid,spenttxid; struct NSPV_txproof spent;
int32_t vout,height,spentvin,spentheight; uint256 txid;
int32_t height,spentvini;
}; };
void komodo_NSPV_spentinfoclear(); void komodo_NSPV_spentinfoclear();
struct NSPV_spentinfo komodo_NSPV_spentinfo(uint256 txid,int32_t vout); struct NSPV_spentinfo komodo_NSPV_spentinfo(uint256 txid,int32_t vout);

View File

@@ -321,13 +321,6 @@ struct NSPV_MMRproof
// tbd // 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 NSPV_rwspentinfo(int32_t rwflag,uint8_t *serialized,struct NSPV_spentinfo *ptr) // check mempool
{ {
int32_t len = 0; int32_t len = 0;