From 1a7c26f2b7065303f528b67675da5ff484e5d9f1 Mon Sep 17 00:00:00 2001 From: Mihailo Milenkovic Date: Tue, 30 Oct 2018 13:07:00 +0100 Subject: [PATCH] Fix --- src/cc/dapps/oraclefeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dapps/oraclefeed.c b/src/cc/dapps/oraclefeed.c index 82c013973..bf99af1ee 100644 --- a/src/cc/dapps/oraclefeed.c +++ b/src/cc/dapps/oraclefeed.c @@ -795,7 +795,7 @@ int32_t tx_has_voutaddress(char *refcoin,char *acname,bits256 txid,char *coinadd } } } - if ((vins=jarray(&numarray,txobj,"vin"))!=0) + if (hasvout==1 && (vins=jarray(&numarray,txobj,"vin"))!=0) { for (int i=0;j