From 43139d3c6d95dcf64a24dd6775ed2380f62979f2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jul 2018 05:16:47 -1100 Subject: [PATCH] Filter null outputs --- src/cc/CCassetstx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index 204eba87a..db97ddded 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -72,6 +72,8 @@ UniValue AssetOrders(uint256 refassetid) //fprintf(stderr," refassetid\n"); continue; } + if ( vintx.vout[it->first.index].nValue == 0 ) + continue; UniValue item(UniValue::VOBJ); funcidstr[0] = funcid; funcidstr[1] = 0;