aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/mempool_packages.py
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2015-11-18 18:35:07 -0500
committerWladimir J. van der Laan <[email protected]>2015-12-01 11:03:37 +0100
commit6e8b07f5f3117d1346e2e720c61ba3e8b08f7cd8 (patch)
tree97b2e8da9f8c270c9508a993b08fc92a6528d0de /qa/rpc-tests/mempool_packages.py
parentMerge pull request #7136 (diff)
downloaddiscoin-6e8b07f5f3117d1346e2e720c61ba3e8b08f7cd8.tar.xz
discoin-6e8b07f5f3117d1346e2e720c61ba3e8b08f7cd8.zip
Add rounding helper function to util.py
Diffstat (limited to 'qa/rpc-tests/mempool_packages.py')
-rwxr-xr-xqa/rpc-tests/mempool_packages.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/qa/rpc-tests/mempool_packages.py b/qa/rpc-tests/mempool_packages.py
index 746c26ff5..34b316a6a 100755
--- a/qa/rpc-tests/mempool_packages.py
+++ b/qa/rpc-tests/mempool_packages.py
@@ -8,9 +8,6 @@
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
-def satoshi_round(amount):
- return Decimal(amount).quantize(Decimal('0.00000001'), rounding=ROUND_DOWN)
-
MAX_ANCESTORS = 25
MAX_DESCENDANTS = 25