From ed7d2246661ec1789b7db0f21668270f0681ea4a Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Tue, 3 Sep 2024 21:55:02 +0200 Subject: [PATCH 1/2] test: add `BulkTransaction` helper to unit test transaction utils The padding method used matches the one used in MiniWallet, `MiniWallet._bulk_tx`. --- src/test/util/transaction_utils.cpp | 21 +++++++++++++++++++++ src/test/util/transaction_utils.h | 4 ++++ 2 files changed, 25 insertions(+) diff --git a/src/test/util/transaction_utils.cpp b/src/test/util/transaction_utils.cpp index 300caa577ca10..5727da4444081 100644 --- a/src/test/util/transaction_utils.cpp +++ b/src/test/util/transaction_utils.cpp @@ -3,6 +3,7 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include +#include #include