From 7304b4652f55d41b4cf37f9653cd4cf7ea419fbe Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jul 2018 04:01:43 -1100 Subject: [PATCH] Token orders fix --- src/cc/CCassetstx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index c9405f405..41003a585 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -60,6 +60,8 @@ UniValue AssetOrders(uint256 refassetid) { if ( (funcid= DecodeAssetOpRet(vintx.vout[vintx.vout.size()-1].scriptPubKey,assetid,assetid2,price,origpubkey)) != 0 ) { + if ( assetid != refassetid ) + continue; UniValue item(UniValue::VOBJ); funcidstr[0] = funcid; funcidstr[1] = 0;