diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-25 23:24:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-11 11:08:20 +0000 |
commit | 04a20cb24208eb2ab2d90727b524d31bab5f9ddb (patch) | |
tree | a7f025367660657b1e291544fe2716daa7239785 /tests | |
parent | functional_tests: add double spend detection tests (diff) | |
download | monero-04a20cb24208eb2ab2d90727b524d31bab5f9ddb.tar.xz |
functional_tests: cold signing key images/outputs import/export
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/functional_tests/cold_signing.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional_tests/cold_signing.py b/tests/functional_tests/cold_signing.py index 07edae854..e5430f87c 100755 --- a/tests/functional_tests/cold_signing.py +++ b/tests/functional_tests/cold_signing.py @@ -89,6 +89,12 @@ class ColdSigningTest(): dst = {'address': '42ey1afDFnn4886T7196doS9GPMzexD9gXpsZJDwVjeRVdFCSoHnv7KPbBeGpzJBzHRCAs9UxqeoyFQMYbqSWYTfJJQAWDm', 'amount': 1000000000000} payment_id = '1234500000012345abcde00000abcdeff1234500000012345abcde00000abcde' + self.hot_wallet.refresh() + res = self.hot_wallet.export_outputs() + self.cold_wallet.import_outputs(res.outputs_data_hex) + res = self.cold_wallet.export_key_images(True) + self.hot_wallet.import_key_images(res.signed_key_images, offset = res.offset) + res = self.hot_wallet.transfer([dst], ring_size = 11, payment_id = payment_id, get_tx_key = False) assert len(res.tx_hash) == 32*2 txid = res.tx_hash |