From 9ce70a4711fed4631e8686a68917c9302e117d14 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 26 Feb 2019 00:07:52 -1100 Subject: [PATCH] Fix --- src/cc/rogue_rpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/rogue_rpc.cpp b/src/cc/rogue_rpc.cpp index 31545dbf8..2f263e8aa 100644 --- a/src/cc/rogue_rpc.cpp +++ b/src/cc/rogue_rpc.cpp @@ -390,9 +390,9 @@ UniValue rogue_playerobj(std::vector playerdata,uint256 playertxid,uint { spenttxid = zeroid; spentvini = -1; - if ( (spentvini= myIsutxo_spent(spenttxid,txid,0)) >= 0 ) + if ( (spentvini= myIsutxo_spent(spenttxid,txid,vout)) >= 0 ) txid = spenttxid; - else if ( myIsutxo_spentinmempool(spenttxid,spentvini,txid,0) == 0 || spenttxid == zeroid ) + else if ( myIsutxo_spentinmempool(spenttxid,spentvini,txid,vout) == 0 || spenttxid == zeroid ) { fprintf(stderr,"mempool tracking error %s/v0\n",txid.ToString().c_str()); break;