From 0424f2f3d1eb6c4ab5618053d956daa63f818aad Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 10 Nov 2018 07:34:43 -1100 Subject: [PATCH] Apply percentage --- src/komodo_bitcoind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 2c885b546..0dec50eb6 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1112,7 +1112,7 @@ uint64_t komodo_commission(const CBlock *pblock,int32_t height) txn_count = pblock->vtx.size(); if ( ASSETCHAINS_FOUNDERS != 0 ) { - return(GetBlockSubsidy(height,Params().GetConsensus())); + return((GetBlockSubsidy(height,Params().GetConsensus()) * ASSETCHAINS_COMMISSION) / COIN); n = pblock->vtx[0].vout.size(); for (j=0; j