aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc/framework
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-29 19:09:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-17 11:38:18 +0000
commitf23beb879ef10d80f95080402faf0040eb0b84d1 (patch)
tree14fa1f73ebb889f6903a5f5a3520a5d8b53c825d /utils/python-rpc/framework
parentfunctional_tests: move extraneous stuff out of the framework (diff)
downloadmonero-f23beb879ef10d80f95080402faf0040eb0b84d1.tar.xz
functional_tests: add missing sweep_dust parameters, and test it
though not a very good test, but we don't have dust handy
Diffstat (limited to 'utils/python-rpc/framework')
-rw-r--r--utils/python-rpc/framework/wallet.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py
index 862ac2262..fae6082d7 100644
--- a/utils/python-rpc/framework/wallet.py
+++ b/utils/python-rpc/framework/wallet.py
@@ -142,9 +142,15 @@ class Wallet(object):
}
return self.rpc.send_json_rpc_request(get_balance)
- def sweep_dust(self):
+ def sweep_dust(self, get_tx_keys = True, do_not_relay = False, get_tx_hex = False, get_tx_metadata = False):
sweep_dust = {
'method': 'sweep_dust',
+ 'params': {
+ 'get_tx_keys': get_tx_keys,
+ 'do_not_relay': do_not_relay,
+ 'get_tx_hex': get_tx_hex,
+ 'get_tx_metadata': get_tx_metadata,
+ },
'jsonrpc': '2.0',
'id': '0'
}