From eccd52f4cc0798c1990ff41fca9c58e424d58f50 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 9 Aug 2018 18:59:18 -1100 Subject: [PATCH] Check for duplicate utxo in available coins --- src/cc/CCtx.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index 666132590..072f86877 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -272,6 +272,11 @@ uint64_t AddNormalinputs(CMutableTransaction &mtx,CPubKey mypk,uint64_t total,in break; if ( i != mtx.vin.size() ) continue; + for (i=0; i