Skip to content

Commit

Permalink
[Cleanup] Remove un-used setTxBuilder in sapling_operation
Browse files Browse the repository at this point in the history
The transaction builder should be initialized and set only when the
sapling_operation is constructed.
  • Loading branch information
random-zebra committed Apr 3, 2021
1 parent 03d0104 commit 74a1592
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sapling/sapling_operation.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ class SaplingOperation {
SaplingOperation* setRecipients(std::vector<SendManyRecipient>& 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; }

Expand Down

0 comments on commit 74a1592

Please sign in to comment.