From f5a201b98d64a6e439b5a0739f3165685ab4ce99 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Mon, 3 Feb 2020 10:23:00 +0100 Subject: [PATCH] Missing test file --- core/electrum_client/test_data/batch_script_list_unspent.in | 2 ++ core/electrum_client/test_data/batch_script_list_unspent.out | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 core/electrum_client/test_data/batch_script_list_unspent.in create mode 100644 core/electrum_client/test_data/batch_script_list_unspent.out diff --git a/core/electrum_client/test_data/batch_script_list_unspent.in b/core/electrum_client/test_data/batch_script_list_unspent.in new file mode 100644 index 00000000..16145441 --- /dev/null +++ b/core/electrum_client/test_data/batch_script_list_unspent.in @@ -0,0 +1,2 @@ +{"id":1,"jsonrpc":"2.0","result":[{"height":0,"tx_hash":"83f5de2e6d7dfd5b582a5b2a3de4a5adb32c9cdca91473cf1fbcba76d56e4486","tx_pos":1,"value":100000000}]} +{"id":0,"jsonrpc":"2.0","result":[{"height":0,"tx_hash":"eb07e5d67565bad5231fd5aeeb16d0c2c53371265690642b943aa24c83ecae1d","tx_pos":0,"value":300000000},{"height":0,"tx_hash":"824f9a426d4b6a9b23c52901754a01017f3113ffdf3ed20c02747db85b161a40","tx_pos":0,"value":100000000}]} diff --git a/core/electrum_client/test_data/batch_script_list_unspent.out b/core/electrum_client/test_data/batch_script_list_unspent.out new file mode 100644 index 00000000..24cf3164 --- /dev/null +++ b/core/electrum_client/test_data/batch_script_list_unspent.out @@ -0,0 +1,2 @@ +{"jsonrpc":"2.0","id":0,"method":"blockchain.scripthash.listunspent","params":["c60b02f19c2053efedddb804024edd3f05f181ac2f828384dff40d072d25d962"]} +{"jsonrpc":"2.0","id":1,"method":"blockchain.scripthash.listunspent","params":["97897cdd5b98fab0b99aa5f861cee45c597a1ab2fe90ea1a7cf234b029eb5883"]}