aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/cold-outputs.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2022-08-16 20:20:38 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2022-09-07 06:22:07 +0000
commit0cbf5571d3ccd07c81d33b05dd23b2ac9c777c3b (patch)
tree730222eb6e3e089d09bb53c86f6fa8fbbca0c9a1 /tests/fuzz/cold-outputs.cpp
parentwallet2: fixes for export/import output flow (diff)
downloadmonero-0cbf5571d3ccd07c81d33b05dd23b2ac9c777c3b.tar.xz
allow exporting outputs in chunks
this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
Diffstat (limited to 'tests/fuzz/cold-outputs.cpp')
-rw-r--r--tests/fuzz/cold-outputs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzz/cold-outputs.cpp b/tests/fuzz/cold-outputs.cpp
index a7e8a6530..fddd5359b 100644
--- a/tests/fuzz/cold-outputs.cpp
+++ b/tests/fuzz/cold-outputs.cpp
@@ -50,7 +50,7 @@ BEGIN_INIT_SIMPLE_FUZZER()
END_INIT_SIMPLE_FUZZER()
BEGIN_SIMPLE_FUZZER()
- std::pair<uint64_t, std::vector<tools::wallet2::transfer_details>> outputs;
+ std::tuple<uint64_t, uint64_t, std::vector<tools::wallet2::transfer_details>> outputs;
binary_archive<false> ar{{buf, len}};
::serialization::serialize(ar, outputs);
size_t n_outputs = wallet->import_outputs(outputs);