diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-09 15:39:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-17 11:38:28 +0000 |
commit | 230f73e1212e672478b454b5d9e0906615f889df (patch) | |
tree | 925464de025562760043fd641b53dff9d4507830 /utils/python-rpc/framework | |
parent | functional_tests: add submitblock test (diff) | |
download | monero-230f73e1212e672478b454b5d9e0906615f889df.tar.xz |
functional_tests: add is_key_image_spent tests
Diffstat (limited to 'utils/python-rpc/framework')
-rw-r--r-- | utils/python-rpc/framework/daemon.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/python-rpc/framework/daemon.py b/utils/python-rpc/framework/daemon.py index 23d5ec0f0..577df0dc0 100644 --- a/utils/python-rpc/framework/daemon.py +++ b/utils/python-rpc/framework/daemon.py @@ -344,3 +344,9 @@ class Daemon(object): 'id': '0' } return self.rpc.send_json_rpc_request(get_fee_estimate) + + def is_key_image_spent(self, key_images = []): + is_key_image_spent = { + 'key_images': key_images, + } + return self.rpc.send_request('/is_key_image_spent', is_key_image_spent) |