From e3986e77a01abbf5a2bb8742b17b684a4eed1ceb Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 2 Jul 2019 09:17:27 -1100 Subject: [PATCH] Uint256 --- src/komodo_defs.h | 2 +- src/komodo_nSPV.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_defs.h b/src/komodo_defs.h index 49e247ae4..8cdfe1c59 100644 --- a/src/komodo_defs.h +++ b/src/komodo_defs.h @@ -342,7 +342,7 @@ struct NSPV_spentinfo int32_t vout,height,spentvin,spentheight; }; void komodo_nSPV_spentinfoclear(); -struct nSPV_spentinfo komodo_nSPV_spentinfo(bits256 txid,int32_t vout); +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 5ea5b106c..e1964f887 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -204,7 +204,7 @@ void komodo_nSPV_spentinfoclear() nSPV_spends.resize(0); } -struct nSPV_spentinfo komodo_nSPV_spentinfo(bits256 txid,int32_t vout) // just a primitive example of how to add new rpc to p2p msg +struct nSPV_spentinfo komodo_nSPV_spentinfo(uint256 txid,int32_t vout) // just a primitive example of how to add new rpc to p2p msg { std::vector request; struct nSPV_spentinfo I; int32_t i,numsent = 0; uint32_t timestamp = (uint32_t)time(NULL); // lookup spentinfo