From 74a1592669d842bcf23f29d1450dc0576c7387fd Mon Sep 17 00:00:00 2001 From: random-zebra Date: Sat, 3 Apr 2021 16:16:10 +0200 Subject: [PATCH] [Cleanup] Remove un-used setTxBuilder in sapling_operation The transaction builder should be initialized and set only when the sapling_operation is constructed. --- src/sapling/sapling_operation.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sapling/sapling_operation.h b/src/sapling/sapling_operation.h index c1c4cb74bc11d..c48ce58c5d8ea 100644 --- a/src/sapling/sapling_operation.h +++ b/src/sapling/sapling_operation.h @@ -99,7 +99,6 @@ class SaplingOperation { SaplingOperation* setRecipients(std::vector& vec) { recipients = std::move(vec); return this; }; SaplingOperation* setFee(CAmount _fee) { fee = _fee; return this; } SaplingOperation* setMinDepth(int _mindepth) { assert(_mindepth >= 0); mindepth = _mindepth; return this; } - SaplingOperation* setTxBuilder(TransactionBuilder& builder) { txBuilder = builder; return this; } SaplingOperation* setTransparentKeyChange(CReserveKey* reserveKey) { tkeyChange = reserveKey; return this; } SaplingOperation* setCoinControl(const CCoinControl* _coinControl) { coinControl = _coinControl; return this; }