From 230f73e1212e672478b454b5d9e0906615f889df Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 9 May 2019 15:39:30 +0000 Subject: functional_tests: add is_key_image_spent tests --- utils/python-rpc/framework/daemon.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils') 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) -- cgit v1.2.3