From a7c2a2fa82861996b74e07bec70a44fa906f54da Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jul 2018 05:11:09 -1100 Subject: [PATCH] Fix missing order book --- src/cc/CCassetstx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index d355fccae..051459f14 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -60,7 +60,7 @@ UniValue AssetOrders(uint256 refassetid) { if ( (funcid= DecodeAssetOpRet(vintx.vout[vintx.vout.size()-1].scriptPubKey,assetid,assetid2,price,origpubkey)) != 0 ) { - if ( assetid != refassetid ) + if ( refassetid != zero && assetid != refassetid ) { int32_t z; for (z=31; z>=0; z--) fprintf(stderr,"%02x",((uint8_t *)&txid)[z]);