From fcdfc0ea32366c8ccad3d025da50ce177c8dfd03 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 10 Nov 2018 06:13:50 -1100 Subject: [PATCH] Skip commission bout --- src/komodo_bitcoind.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 4c633ede4..e4678f90e 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1114,7 +1114,8 @@ uint64_t komodo_commission(const CBlock *pblock) { n = pblock->vtx[0].vout.size(); for (j=0; jvtx[0].vout[j].nValue; + if ( j != 1 ) + total += pblock->vtx[0].vout[j].nValue; } else {