From 9726ead472c5b86e48ba3c91a8bdba7ed3a08476 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Aug 2018 03:15:36 -1100 Subject: [PATCH] Test --- src/rpcrawtransaction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 4c7488d02..f77d9be94 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -124,8 +124,8 @@ int32_t myIsutxo_spent(uint256 &spenttxid,uint256 txid,int32_t vout) CSpentIndexValue spentInfo; CSpentIndexKey spentKey(txid,vout); if ( GetSpentIndex(spentKey,spentInfo) ) { - spenttxid = spentInfo.txid.GetHex(); - return((int32_t)spentInfo.inputIndex)); + spenttxid = spentInfo.txid; + return((int32_t)spentInfo.inputIndex); // out.push_back(Pair("spentHeight", spentInfo.blockHeight)); } memset(&spenttxid,0,sizeof(spenttxid));