From ed7d2246661ec1789b7db0f21668270f0681ea4a Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Tue, 3 Sep 2024 21:55:02 +0200 Subject: 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(+) (limited to 'src/test') diff --git a/src/test/util/transaction_utils.cpp b/src/test/util/transaction_utils.cpp index 300caa577c..5727da4444 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