diff options
| author | Suhas Daftuar <[email protected]> | 2015-11-18 18:35:07 -0500 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-12-01 11:03:37 +0100 |
| commit | 6e8b07f5f3117d1346e2e720c61ba3e8b08f7cd8 (patch) | |
| tree | 97b2e8da9f8c270c9508a993b08fc92a6528d0de /qa/rpc-tests/mempool_packages.py | |
| parent | Merge pull request #7136 (diff) | |
| download | discoin-6e8b07f5f3117d1346e2e720c61ba3e8b08f7cd8.tar.xz discoin-6e8b07f5f3117d1346e2e720c61ba3e8b08f7cd8.zip | |
Add rounding helper function to util.py
Diffstat (limited to 'qa/rpc-tests/mempool_packages.py')
| -rwxr-xr-x | qa/rpc-tests/mempool_packages.py | 3 |
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 |