git://git.novaco.in
/
p2pool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
block loss fix
[p2pool.git]
/
p2pool
/
data.py
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
562fdba
..
a9bae81
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-120,7
+120,7
@@
class Share(object):
# if coinbase size is greater than 1000 bytes, it should pay fee (0.01 per 1000 bytes)
if coinbase_size > 1000:
- return floor(coinbase_size / 1000.0) * minout
+ return math.floor(coinbase_size / 1000.0) * minout
return 0