From 9664d7d05b2f2ecb6cbeb10df0c76c4ef928912a Mon Sep 17 00:00:00 2001 From: alexhz Date: Thu, 7 Mar 2013 18:30:00 +0000 Subject: [PATCH] fix coinbase fee --- p2pool/data.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/p2pool/data.py b/p2pool/data.py index 0456a28..9203af6 100644 --- a/p2pool/data.py +++ b/p2pool/data.py @@ -177,7 +177,7 @@ class Share(object): ) # calculate "raw" subsidy - raw_subsidy = share_data['subsidy'] - 3 * minout - get_coinbase_fee(len(weights)) + raw_subsidy = share_data['subsidy'] - 3 * minout - get_coinbase_fee(len(weights) + 1) # calculate "raw" amounts raw_amounts = dict((script, raw_subsidy*weight//total_weight) for script, weight in weights.iteritems()) -- 1.7.1